You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
739 B

#!/usr/bin/env /lib/init/init-d-script
### BEGIN INIT INFO
# Provides: atd
# Required-Start: $syslog $time $remote_fs
# Required-Stop: $syslog $time $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: run at jobs
# Description: Debian init script to start the daemon
# running at jobs.
### END INIT INFO
NAME=didaff
DESC="Distributed Intrusion Detection And Firewalling Framework"
PIDFILE=none
DAEMON=none
do_start_cmd_override() {
daemon -n didaff -r -- /home/didaff/didaff server
}
do_stop_cmd_override() {
daemon -n didaff --stop -- /home/didaff/didaff server
}
do_status_override() {
daemon -n didaff --running -- /home/didaff/didaff server
}