Skip to content
Snippets Groups Projects
Commit 990ccdf7 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

LaBrea: Add more LSB-like endpoints to start script

parent a93fe0f2
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@ done
function log_daemon_msg () { echo -n "$@"; }
function log_end_msg () { [ $1 -eq 0 ] && echo " OK" || echo " Failed"; }
function status_of_proc () { [ -f "$PID" ] && ps u -p $(<"$PID") || echo "$PID not found."; }
function start_daemon () { shift; shift; $* ; }
function killproc () { kill $(cat $PID) ; }
[ -f /lib/lsb/init-functions ] && . /lib/lsb/init-functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment