115 changed files with 132 additions and 238 deletions
@ -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 ) |
@ -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 |
|||
} |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_respawn='true' |
|||
service_command=( /usr/bin/acpid -f ) |
@ -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 |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/chef-client -i 600 -s 3 -l info ) |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
#service_respawn='true' |
|||
service_command=( /usr/bin/chronyd -u chrony ) |
@ -0,0 +1,5 @@ |
|||
#!/usr/bin/env ssm |
|||
# Author: Alad Wenter |
|||
|
|||
service_depends=( dbus ) |
|||
service_command=( /usr/bin/connmand -n ) |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /bin/crond -n ) |
@ -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() { |
@ -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}" |
@ -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 ) |
@ -0,0 +1,6 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_type='oneshot' |
|||
service_command=( /usr/bin/ferm /etc/ferm.conf ) |
|||
|
|||
reload() { "${service_command[@]}"; } |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
#service_respawn=true |
|||
service_command=( /usr/bin/haproxy -db -f /etc/haproxy/haproxy.cfg ) |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/haveged -F -w 1024 -v 1 ) |
@ -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..." |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1 ) |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
#service_respawn=true |
|||
service_command=( /usr/bin/mpd --no-daemon ) |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/ntpd -n ) |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/oidentd -i ) |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_command=( /usr/bin/ntpd -d ) |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_workdir="/etc/openvpn" |
|||
service_command=( /usr/sbin/openvpn server.conf ) |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
service_type='oneshot' |
|||
service_command=( /usr/bin/mkdir -p /run/lock ) |
@ -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 ) |
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env ssm |
|||
|
|||
#service_respawn='true' |
|||
service_command=( /usr/bin/preload -f ) |
@ -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" |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue