commit fd06206184a64e98a93c78572986f4a46fabfe50 from: Aleksey Ryndin date: Thu Aug 24 10:45:37 2023 UTC Add example of OpenBSD daemon commit - 82e467b51dcbb66ef0980460f659d05a8175a584 commit + fd06206184a64e98a93c78572986f4a46fabfe50 blob - /dev/null blob + 44381f06475b5fc1ff3e6cec8e61b3b7a17799b7 (mode 644) --- /dev/null +++ examples/openbsd/rc.d/vostok @@ -0,0 +1,12 @@ +#!/bin/ksh +daemon_args="-a -k -c -f " +daemon_user="_vostok" +daemon="//vostok ${daemon_args}" + +. /etc/rc.d/rc.subr + +pexp="${daemon}.*" +rc_reload=NO +rc_bg=YES + +rc_cmd $1