1357eb3177
supposed to stay around. from rte
20 lines
319 B
Bash
20 lines
319 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: tt_rss_update.rc,v 1.4 2012/08/25 11:41:46 ajacoutot Exp $
|
|
|
|
daemon="${INSTDIR}/update.php -daemon"
|
|
daemon_user="www"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="${MODPHP_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
|
|
|
rc_bg=YES
|
|
rc_reload=NO
|
|
|
|
rc_post() {
|
|
rm -f ${INSTDIR}/lock/update_daemon.lock
|
|
}
|
|
|
|
rc_cmd $1
|