Signed-off-by: fbt <fbt@fleshless.org>
master
Jack L. Frost 5 years ago
parent e6f85aa437
commit d85b1945e9
  1. 8
      conf.d/devfs-links
  2. 5
      init.d/acpid
  3. 5
      init.d/agetty
  4. 5
      init.d/chef-client
  5. 5
      init.d/chrony
  6. 8
      init.d/connmand
  7. 4
      init.d/cronie
  8. 5
      init.d/cupsd
  9. 18
      init.d/devfs-links
  10. 6
      init.d/fcgiwrap
  11. 9
      init.d/ferm
  12. 5
      init.d/haproxy
  13. 4
      init.d/haveged
  14. 6
      init.d/mariadb
  15. 5
      init.d/memcached
  16. 5
      init.d/mpd
  17. 10
      init.d/network
  18. 5
      init.d/ntp
  19. 4
      init.d/oidentd
  20. 5
      init.d/openntpd
  21. 6
      init.d/openvpn-server
  22. 5
      init.d/pamusb
  23. 5
      init.d/php-fpm
  24. 5
      init.d/preload
  25. 12
      init.d/privoxy
  26. 5
      init.d/scron
  27. 5
      init.d/syslog-ng
  28. 6
      init.d/teamviewerd
  29. 5
      init.d/vixie-cron
  30. 5
      init.d/wpa_supplicant
  31. 5
      init.d/xinetd
  32. 10
      init.d/znet
  33. 0
      services/README
  34. 4
      services/acpid
  35. 4
      services/agetty
  36. 0
      services/agetty-tty1
  37. 0
      services/agetty-tty2
  38. 0
      services/agetty-tty3
  39. 0
      services/agetty-tty4
  40. 0
      services/agetty-tty5
  41. 0
      services/agetty-tty6
  42. 3
      services/alsa
  43. 0
      services/atd
  44. 0
      services/binfmt-register
  45. 3
      services/bitlbee
  46. 0
      services/cgmanager
  47. 3
      services/chef-client
  48. 4
      services/chrony
  49. 0
      services/cjdroute
  50. 5
      services/connmand
  51. 3
      services/cronie
  52. 4
      services/cupsd
  53. 3
      services/dbus
  54. 3
      services/dhcpcd
  55. 4
      services/dnscrypt
  56. 4
      services/dnscrypt-backup
  57. 0
      services/docker
  58. 0
      services/dropbear
  59. 0
      services/eth0.iface
  60. 0
      services/eudev
  61. 5
      services/fcgiwrap
  62. 6
      services/ferm
  63. 0
      services/fsck
  64. 4
      services/haproxy
  65. 3
      services/haveged
  66. 3
      services/hostname
  67. 0
      services/hwdetect
  68. 0
      services/iptables
  69. 3
      services/isc-dhcpd
  70. 4
      services/kmscon
  71. 0
      services/kmscon-tty1
  72. 0
      services/kmscon-tty2
  73. 0
      services/kmscon-tty3
  74. 0
      services/kmscon-tty4
  75. 0
      services/kmscon-tty5
  76. 0
      services/kmscon-tty6
  77. 0
      services/libvirtd
  78. 3
      services/lo.iface
  79. 5
      services/mariadb
  80. 3
      services/mdev
  81. 3
      services/memcached
  82. 0
      services/motd
  83. 0
      services/mount
  84. 4
      services/mpd
  85. 0
      services/ngetty
  86. 0
      services/nginx
  87. 3
      services/nrpe
  88. 3
      services/ntp
  89. 3
      services/oidentd
  90. 3
      services/openntpd
  91. 3
      services/openvpn
  92. 0
      services/openvpn-example
  93. 4
      services/openvpn-server
  94. 4
      services/pamusb
  95. 3
      services/php-fpm
  96. 4
      services/preload
  97. 10
      services/privoxy
  98. 0
      services/prosody
  99. 0
      services/rc.local
  100. 3
      services/rsyslogd
  101. Some files were not shown because too many files have changed in this diff Show More

@ -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

@ -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 )

@ -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() {

@ -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}"

@ -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 )

@ -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'

@ -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 )

@ -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 )

@ -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 )

@ -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 )

@ -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"
}

@ -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…
Cancel
Save