Snorby init script fuer Debian

#! /bin/bash # ### BEGIN INIT INFO # Provides: snorby # Required-Start: $remote_fs $syslog $mysql $snortbarn # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start Snorby ### END INIT INFO . /lib/init/vars.sh . /lib/lsb/init-functions DIR=“/usr/local/snorby“ DAEMON=“/usr/local/bin/bundle“ DAEMON_ARGS=“exec rails server -e production“ NAME=“snorby“ PIDFILE=“/var/run/$NAME.pid“ do_start() { log_daemon_msg … Weiterlesen