diff options
Diffstat (limited to 'lexd-spool.rc')
| -rw-r--r-- | lexd-spool.rc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lexd-spool.rc b/lexd-spool.rc new file mode 100644 index 0000000..7ae53cc --- /dev/null +++ b/lexd-spool.rc @@ -0,0 +1,16 @@ +#!/bin/ksh + +daemon="/usr/local/bin/lexd-spool" +daemon_user="_lexd" +pexp="/bin/ksh ${daemon}" + +. /etc/rc.d/rc.subr + +rc_bg=YES +rc_reload=NO + +rc_check() { + pgrep -q -u "${daemon_user}" -f "^/bin/ksh ${daemon}" +} + +rc_cmd $1 |
