This commit is contained in:
2014-06-28 10:54:06 +04:00
parent 20f1cad363
commit c9168818d4
8 changed files with 31 additions and 12 deletions

10
init.d/bitflu Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env watchman
service_username='torrent'
service_command='sudo'
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"
start() {
umask 0007
watchman.start
}