Skip to content

Commit 6f0749a

Browse files
committed
Initial version of OpenBSD daemon script
1 parent b2edf7a commit 6f0749a

File tree

1 file changed

+8
-0
lines changed
  • config/openbsd/etc/rc.d

1 file changed

+8
-0
lines changed

config/openbsd/etc/rc.d/wsddn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/ksh
2+
3+
daemon="/usr/local/bin/wsddn --unixd"
4+
daemon_flags="--config /etc/wsddn/wsddn.conf --pid-file=/var/run/wsddn.pid --log-file=/var/log/wsddn.log"
5+
6+
. /etc/rc.d/rc.subr
7+
8+
rc_cmd $1

0 commit comments

Comments
 (0)