sabnzbd.rc 330 B

12345678910111213141516
  1. #!/bin/sh
  2. #
  3. # $OpenBSD: sabnzbd.rc,v 1.2 2015/07/16 00:12:02 ajacoutot Exp $
  4. datadir="/var/sabnzbd"
  5. daemon="${MODPY_BIN} ${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py -d"
  6. daemon_flags="-b 0 -f ${datadir} -p ${datadir}/sabnzbd.pid"
  7. daemon_user="_sabnzbd"
  8. . /etc/rc.d/rc.subr
  9. rc_reload=NO
  10. rc_cmd $1