ssm-services/init.d/bitflu

12 lines
233 B
Plaintext
Raw Normal View History

2014-06-28 06:54:06 +00:00
#!/usr/bin/env watchman
#service_respawn='true'
2014-06-28 06:54:06 +00:00
service_username='torrent'
service_command='/usr/bin/sudo'
2015-09-04 13:47:37 +00:00
service_args=( -u "$service_username" -- /usr/bin/bitflu --config=/etc/bitflu.cfg )
2014-06-28 06:54:06 +00:00
start() {
umask 0007
watchman.start
}