kek
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
e6f85aa437
commit
d85b1945e9
|
@ -1,8 +0,0 @@
|
|||
# Config for devfs-links
|
||||
|
||||
cfg_links=(
|
||||
'/proc/self/fd;/dev/fd'
|
||||
'/proc/self/fd/0;/dev/stdin'
|
||||
'/proc/self/fd/1;/dev/stdout'
|
||||
'/proc/self/fd/2;/dev/stderr'
|
||||
)
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/acpid'
|
||||
service_args=( -f )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/agetty'
|
||||
service_args=( 38400 "${service_name##*-}" linux )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/chef-client'
|
||||
service_args=( -i 600 -s 3 -l info )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/chronyd'
|
||||
service_args=( -u chrony )
|
|
@ -1,8 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
# Author: Alad Wenter
|
||||
|
||||
depends dbus || return 1
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/connmand'
|
||||
service_args=( -n )
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command='/bin/crond'
|
||||
service_args=( -n )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/cupsd'
|
||||
service_args=( -f )
|
|
@ -1,18 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
# This is a script to set up the links in /dev in absence of e?(u|s?m)dev.
|
||||
|
||||
service_type='oneshot'
|
||||
|
||||
# Config moved to conf.d
|
||||
|
||||
spawn() {
|
||||
for l in "${cfg_links[@]}"; do
|
||||
IFS=';' read dest link <<< "$l"
|
||||
|
||||
[[ -e "$link" ]] || {
|
||||
[[ -e "$dest" ]] && {
|
||||
ln -s "$dest" "$link"
|
||||
}
|
||||
}
|
||||
done
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
# The configuration is in conf.d.
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/spawn-fcgi'
|
||||
service_args=( -s "$cfg_socket" -P "$service_pidfile" -u "$cfg_user" -g "$cfg_group" -- /usr/bin/fcgiwrap )
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/usr/bin/ferm'
|
||||
service_args=( /etc/ferm.conf )
|
||||
|
||||
reload() {
|
||||
"$service_command" "${service_args[@]}"
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/haproxy'
|
||||
service_args=( -db -f /etc/haproxy/haproxy.cfg )
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=/usr/bin/haveged
|
||||
service_args=( -F -w 1024 -v 1 )
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_workdir='/usr'
|
||||
service_command='/usr/bin/mysqld_safe'
|
||||
service_args=( --datadir=/var/lib/mysql )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/memcached'
|
||||
service_args=( -m 64 -p 11211 -u nobody -l 127.0.0.1 )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/mpd'
|
||||
service_args=( --no-daemon )
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/znet -d up )
|
||||
|
||||
ifaces=( 'eth0' 'warp' )
|
||||
|
||||
pre_stop() {
|
||||
"$service_command" "${service_args[@]}" down
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/ntpd'
|
||||
service_args=( -n )
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command='/usr/bin/oidentd'
|
||||
service_args=( -i )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/ntpd'
|
||||
service_args=( -d )
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command="/usr/sbin/openvpn"
|
||||
service_workdir="/etc/openvpn"
|
||||
service_args=( server.conf )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/usr/bin/mkdir'
|
||||
service_args=( -p /run/lock )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/php-fpm'
|
||||
service_args=( -F --fpm-config /etc/php/php-fpm.conf -c /etc/php/php.ini )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/preload'
|
||||
service_args=( -f )
|
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
privoxy_username='privoxy'
|
||||
privoxy_configfile='/etc/privoxy/config'
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/privoxy'
|
||||
service_args=( --no-daemon --user "$privoxy_username" "$privoxy_configfile" )
|
||||
|
||||
pre_restart() {
|
||||
"$service_command" --config-test "${service_args[@]}"
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/crond'
|
||||
service_args=( -n )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/syslog-ng'
|
||||
service_args=( -F )
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_pidfile='/run/teamviewerd.pid'
|
||||
service_command='/opt/teamviewer8/tv_bin/teamviewerd'
|
||||
service_args=( -d )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/crond'
|
||||
service_args=( -f )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command='/usr/bin/wpa_supplicant'
|
||||
service_config='/etc/wpa_supplicant/wpa_supplicant.conf'
|
||||
service_args=( -i "${service_name##*-}" -c "$service_config" )
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/xinetd'
|
||||
service_args=( -dontfork )
|
10
init.d/znet
10
init.d/znet
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/znet -d up )
|
||||
|
||||
ifaces=( 'eth0' 'warp' )
|
||||
|
||||
pre_stop() {
|
||||
"$service_command" "${service_args[@]}" down
|
||||
}
|
4
services/acpid
Executable file
4
services/acpid
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command=( /usr/bin/acpid -f )
|
4
services/agetty
Executable file
4
services/agetty
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command=( /usr/bin/agetty 38400 "${service_name##*-}" linux )
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/alsactl'
|
||||
service_args=( rdaemon )
|
||||
service_command=( /usr/bin/alsactl rdaemon )
|
||||
|
||||
stop() {
|
||||
"$service_command" kill save_and_quit
|
|
@ -3,5 +3,4 @@
|
|||
# Modify it for your setup.
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/bitlbee'
|
||||
service_args=( -n )
|
||||
service_command=( /usr/bin/bitlbee -n )
|
3
services/chef-client
Executable file
3
services/chef-client
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/chef-client -i 600 -s 3 -l info )
|
4
services/chrony
Executable file
4
services/chrony
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/chronyd -u chrony )
|
5
services/connmand
Executable file
5
services/connmand
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
# Author: Alad Wenter
|
||||
|
||||
service_depends=( dbus )
|
||||
service_command=( /usr/bin/connmand -n )
|
3
services/cronie
Executable file
3
services/cronie
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /bin/crond -n )
|
4
services/cupsd
Executable file
4
services/cupsd
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/cupsd -f )
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/dbus-daemon'
|
||||
service_args=( --system --nofork )
|
||||
service_command=( /usr/bin/dbus-daemon --system --nofork )
|
||||
service_tmpfiles=( '/run/dbus:dir' )
|
||||
|
||||
pre_start() {
|
|
@ -2,5 +2,4 @@
|
|||
# dhcp client daemon initscript
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/dhcpcd'
|
||||
service_args=( -B )
|
||||
service_command=( /usr/bin/dhcpcd -B )
|
|
@ -4,8 +4,8 @@
|
|||
depends dnscrypt-backup
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
service_args=(
|
||||
service_command=(
|
||||
'/usr/bin/dnscrypt-proxy'
|
||||
"--local-address=${local_ip}:${local_port}"
|
||||
"--resolver-address=${resolver_ip}:${resolver_port}"
|
||||
"--provider-name=${provider_name}"
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
service_args=(
|
||||
service_command=(
|
||||
'/usr/bin/dnscrypt-proxy'
|
||||
"--local-address=${local_ip}:${local_port}"
|
||||
"--resolver-address=${resolver_ip}:${resolver_port}"
|
||||
"--provider-name=${provider_name}"
|
5
services/fcgiwrap
Executable file
5
services/fcgiwrap
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
# The configuration is in conf.d.
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/spawn-fcgi -s "$cfg_socket" -P "$service_pidfile" -u "$cfg_user" -g "$cfg_group" -- /usr/bin/fcgiwrap )
|
6
services/ferm
Executable file
6
services/ferm
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/ferm /etc/ferm.conf )
|
||||
|
||||
reload() { "${service_command[@]}"; }
|
4
services/haproxy
Executable file
4
services/haproxy
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/haproxy -db -f /etc/haproxy/haproxy.cfg )
|
3
services/haveged
Executable file
3
services/haveged
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/haveged -F -w 1024 -v 1 )
|
|
@ -8,5 +8,4 @@ fi
|
|||
[[ "$cfg_hostname" ]] || { cfg_hostname='localhost'; }
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/usr/bin/hostname'
|
||||
service_args=( "$cfg_hostname" )
|
||||
service_command=( /usr/bin/hostname "$cfg_hostname" )
|
|
@ -2,5 +2,4 @@
|
|||
# dhcp client daemon initscript
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/sbin/dhcpd'
|
||||
service_args=( -f )
|
||||
service_command=( /usr/sbin/dhcpd -f )
|
|
@ -3,8 +3,8 @@
|
|||
tty="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args=(
|
||||
service_command=(
|
||||
'/usr/bin/kmscon'
|
||||
--vt "$tty"
|
||||
--hwaccel --drm
|
||||
--font-name "$kmscon_font_name"
|
|
@ -3,8 +3,7 @@
|
|||
cfg_iface="${service_name%%.*}"
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/usr/bin/ip'
|
||||
service_args=( link set "$cfg_iface" up)
|
||||
service_command=( /usr/bin/ip link set "$cfg_iface" up )
|
||||
|
||||
ready() {
|
||||
local iface="$1" timer='0' timeout='6'
|
5
services/mariadb
Executable file
5
services/mariadb
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_workdir='/usr'
|
||||
service_command=( /usr/bin/mysqld_safe --datadir=/var/lib/mysql )
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/usr/bin/mdev'
|
||||
service_args=( -s )
|
||||
service_command=( /usr/bin/mdev -s )
|
||||
|
||||
post_start() {
|
||||
echo "Enabling hotplug..."
|
3
services/memcached
Executable file
3
services/memcached
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1 )
|
4
services/mpd
Executable file
4
services/mpd
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/mpd --no-daemon )
|
|
@ -3,6 +3,5 @@
|
|||
cfg_nrpe_config='/etc/nrpe/nrpe.cfg'
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/nrpe'
|
||||
service_command=( /usr/bin/nrpe -c "$cfg_nrpe_config" -d )
|
||||
service_pidfile='/run/nrpe.pid'
|
||||
service_args=( -c "$cfg_nrpe_config" -d )
|
3
services/ntp
Executable file
3
services/ntp
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/ntpd -n )
|
3
services/oidentd
Executable file
3
services/oidentd
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/oidentd -i )
|
3
services/openntpd
Executable file
3
services/openntpd
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/ntpd -d )
|
|
@ -3,6 +3,5 @@
|
|||
cfg_ovpn_instance="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_command="/usr/bin/openvpn"
|
||||
service_command=( /usr/bin/openvpn client.cfg )
|
||||
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
|
||||
service_args=( client.cfg )
|
4
services/openvpn-server
Executable file
4
services/openvpn-server
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_workdir="/etc/openvpn"
|
||||
service_command=( /usr/sbin/openvpn server.conf )
|
4
services/pamusb
Executable file
4
services/pamusb
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/mkdir -p /run/lock )
|
3
services/php-fpm
Executable file
3
services/php-fpm
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_command=( /usr/bin/php-fpm -F --fpm-config /etc/php/php-fpm.conf -c /etc/php/php.ini )
|
4
services/preload
Executable file
4
services/preload
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/preload -f )
|
10
services/privoxy
Executable file
10
services/privoxy
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
privoxy_username='privoxy'
|
||||
privoxy_configfile='/etc/privoxy/config'
|
||||
|
||||
service_command=( /usr/bin/privoxy --no-daemon --user "$privoxy_username" "$privoxy_configfile" )
|
||||
|
||||
pre_restart() {
|
||||
"$service_command" --config-test "$privoxy_configfile"
|
||||
}
|
|
@ -2,5 +2,4 @@
|
|||
# Author: Alad Wenter
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/rsyslogd'
|
||||
service_args=( -n )
|
||||
service_command=( /usr/bin/rsyslogd -n )
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user