2014-06-28 06:54:06 +00:00
|
|
|
#!/usr/bin/env watchman
|
|
|
|
|
2014-08-02 17:35:27 +00:00
|
|
|
#service_respawn='true'
|
2014-06-28 06:54:06 +00:00
|
|
|
service_username='torrent'
|
2015-01-08 09:25:38 +00:00
|
|
|
service_command='/usr/bin/sudo'
|
2014-06-28 06:54:06 +00:00
|
|
|
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"
|
|
|
|
|
|
|
|
start() {
|
|
|
|
umask 0007
|
|
|
|
watchman.start
|
|
|
|
}
|