ae70c849c2
While here, force postgresql to quit in rc_stop, ok pea@
17 lines
364 B
Bash
Executable File
17 lines
364 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $OpenBSD: x11vnc.rc,v 1.6 2011/01/05 16:05:54 ajacoutot Exp $
|
|
|
|
daemon="${TRUEPREFIX}/bin/x11vnc"
|
|
daemon_flags="-localhost -logfile /var/log/x11vnc -ncache 0 -display :0 -forever -loop100 -auth /etc/X11/xdm/authdir/authfiles/A:0-*"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload=NO
|
|
|
|
rc_start() {
|
|
${rcexec} "${daemon} ${daemon_flags}" >/dev/null 2>&1 &
|
|
}
|
|
|
|
rc_cmd $1
|