Enforcing separation of the command and its args and full command paths

This commit is contained in:
2015-01-08 12:25:38 +03:00
parent 0ef5a664f7
commit 8bab91cc17
4 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
#service_respawn='true'
service_username='torrent'
service_command='sudo'
service_command='/usr/bin/sudo'
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"
start() {