diff options
| author | Paul Buetow <openbsd@mx.buetow.org> | 2021-12-28 19:11:26 +0100 |
|---|---|---|
| committer | Paul Buetow <openbsd@mx.buetow.org> | 2021-12-28 19:11:26 +0100 |
| commit | 2d3bb3e69d835b32bfcc3471ee0c0f0262b408df (patch) | |
| tree | 1f040321d9bad110cc97462e583e7d2730b4e5f7 | |
| parent | 1ada1e01822bcea1dbd560e38af9f663ea98bfb2 (diff) | |
add geminid rc.d script
| -rwxr-xr-x | openbsd/blowfish.buetow.org/etc/rc.d/geminid | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsd/blowfish.buetow.org/etc/rc.d/geminid b/openbsd/blowfish.buetow.org/etc/rc.d/geminid new file mode 100755 index 0000000..f9d6701 --- /dev/null +++ b/openbsd/blowfish.buetow.org/etc/rc.d/geminid @@ -0,0 +1,13 @@ +#!/bin/ksh + +daemon="/usr/local/bin/geminid" +daemon_user="www" + +. /etc/rc.d/rc.subr + +rc_reload=NO +rc_start() { + ${rcexec} "${daemon} ${daemon_flags} 2>&1 | logger -t geminid &" +} + +rc_cmd $1 & |
