ssm-services/init.d/bitflu

12 lines
220 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='sudo'
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"
start() {
umask 0007
watchman.start
}