#!/bin/sh ### BEGIN INIT INFO # Provides: harp # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop Harp service ### END INIT INFO case "$1" in start) echo "Starting Harp service..." su root -c "/usr/lib/dpkg/methods/harp.sh &" ;; stop) echo "Stopping Harp service..." ;; restart) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 ;; esac exit 0