forked from Spark/ssm-services
bin dir consistency
This commit is contained in:
parent
34926f5fbf
commit
912edd63c9
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/bin/agetty'
|
||||
service_command='/usr/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/alsactl'
|
||||
service_command='/usr/bin/alsactl'
|
||||
service_args="rdaemon"
|
||||
|
||||
stop() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/cupsd'
|
||||
service_command='/usr/bin/cupsd'
|
||||
service_args="-f"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
# dhcp client daemon initscript
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/usr/sbin/dhcpcd'
|
||||
service_command='/usr/bin/dhcpcd'
|
||||
service_args='-B'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
docker_dir='/home/docker'
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/local/sbin/docker'
|
||||
service_command='/usr/bin/docker'
|
||||
service_args="-g ${docker_dir} -d"
|
||||
|
||||
update() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn=true
|
||||
service_command='/bin/dropbear'
|
||||
service_command='/usr/bin/dropbear'
|
||||
service_args="-R -w -F"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# The configuration is in conf.d.
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/spawn-fcgi'
|
||||
service_command='/usr/bin/spawn-fcgi'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/bin/mdev'
|
||||
service_command='/usr/bin/mdev'
|
||||
service_args='-s'
|
||||
|
||||
hotplug() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/bin/mpd'
|
||||
service_command='/usr/bin/mpd'
|
||||
service_args='--no-daemon'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/ntpd'
|
||||
service_command='/usr/bin/ntpd'
|
||||
service_args='-n'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/ntpd'
|
||||
service_command='/usr/bin/ntpd'
|
||||
service_args='-d'
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
cfg_ovpn_instance="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_command="/usr/sbin/openvpn"
|
||||
service_command="/usr/bin/openvpn"
|
||||
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
|
||||
service_args="client.cfg"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/preload'
|
||||
service_command='/usr/bin/preload'
|
||||
service_args='-f'
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_type='oneshot'
|
||||
service_command="$BASH"
|
||||
service_args='/etc/rc.local'
|
||||
service_command="/etc/rc.local"
|
||||
|
||||
unset stop
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/crond'
|
||||
service_command='/usr/bin/crond'
|
||||
service_args='-n'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/bin/smdev'
|
||||
service_command='/usr/bin/smdev'
|
||||
service_args='-s'
|
||||
|
||||
hotplug() {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
cfg_sshd_cfgdir='/etc/ssh'
|
||||
|
||||
service_respawn=true
|
||||
service_command='/bin/sshd'
|
||||
service_command='/usr/bin/sshd'
|
||||
service_args="-D -f $cfg_sshd_cfgdir/sshd_config"
|
||||
|
||||
sshd_genkeys() {
|
||||
|
|
|
@ -7,7 +7,7 @@ for i in /etc/sysctl.conf /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
|
|||
done
|
||||
|
||||
service_type='oneshot'
|
||||
service_command='/sbin/sysctl'
|
||||
service_command='/usr/bin/sysctl'
|
||||
service_args="-p ${sysctl_config_files[@]}"
|
||||
|
||||
unset restart reload
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn=true
|
||||
service_command='/bin/syslog-ng'
|
||||
service_command='/usr/bin/syslog-ng'
|
||||
service_args='-F'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/bin/crond'
|
||||
service_command='/usr/bin/crond'
|
||||
service_args='-f'
|
||||
|
|
Loading…
Reference in New Issue
Block a user