#!/bin/sh # chkconfig: 3 99 00 case "$1" in start) echo "Starting NZBGet." /opt/bin/nzbget -D ;; stop) echo "Shutting down NZBGet." /opt/bin/nzbget -Q ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0