mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Properly set status 'missing' for missing binaries and/or env files
When we try to start a service/run/task we call whichp() to see if the binary exists, either tha absolute path given in the .conf file, or in the $PATH we run with. If binary, or the env: file, doesn't exist we now set svc_missing() state. On `initctl reload` we unblock the service to be able to check again. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
2711b27971
commit
11a3318c02
3 files changed
+19
-5