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

@@ -8,5 +8,5 @@ fi
[[ "$cfg_hostname" ]] || { cfg_hostname='localhost'; }
service_type='oneshot'
service_command='hostname'
service_command='/usr/bin/hostname'
service_args="$cfg_hostname"