diff options
| -rw-r--r-- | config/alert-tracks-debian.ugly | 14 | ||||
| -rw-r--r-- | config/purge-varnish-debian.ugly | 14 | 
2 files changed, 14 insertions, 14 deletions
| diff --git a/config/alert-tracks-debian.ugly b/config/alert-tracks-debian.ugly index 5bd146061..ba186ebd8 100644 --- a/config/alert-tracks-debian.ugly +++ b/config/alert-tracks-debian.ugly @@ -4,7 +4,7 @@  # Provides: alert-tracks  # Required-Start: $local_fs $syslog  # Required-Stop: $local_fs $syslog -# Default-Start: 2 3 4 5  +# Default-Start: 2 3 4 5  # Default-Stop: 0 1 6  # Short-Description: alert-tracks is a daemon running the Alaveteli email alerts  # Description: alert-tracks send Alaveteli email alerts as required @@ -13,10 +13,10 @@  # !!(*= $daemon_name *)!! Start the Alaveteli email alert daemon  NAME=!!(*= $daemon_name *)!! -DAEMON=/data/vhost/!!(*= $vhost *)!!/alaveteli/script/runner +DAEMON=!!(*= $vhost_dir *)!!/alaveteli/script/runner  DAEMON_ARGS="--daemon TrackMailer.alert_tracks_loop" -PIDFILE=/data/vhost/!!(*= $vhost *)!!/alert-tracks.pid -LOGFILE=/data/vhost/!!(*= $vhost *)!!/logs/alert-tracks.log +PIDFILE=!!(*= $vhost_dir *)!!/alert-tracks.pid +LOGFILE=!!(*= $vhost_dir *)!!/logs/alert-tracks.log  DUSER=!!(*= $user *)!!  trap "" 1 @@ -48,17 +48,17 @@ case "$1" in            exit 0        fi        ;; -   +    start)        echo -n "Starting Alaveteli alert daemon: $NAME"        start_daemon        ;; -   +    stop)          echo -n "Stopping Alaveteli alert daemon: $NAME"          stop_daemon          ;; -   +    restart)        echo -n "Restarting Alaveteli alert daemon: $NAME"        stop_daemon diff --git a/config/purge-varnish-debian.ugly b/config/purge-varnish-debian.ugly index 1a9259da8..54f6e54de 100644 --- a/config/purge-varnish-debian.ugly +++ b/config/purge-varnish-debian.ugly @@ -4,7 +4,7 @@  # Provides: purge-varnish  # Required-Start: $local_fs $syslog  # Required-Stop: $local_fs $syslog -# Default-Start: 2 3 4 5  +# Default-Start: 2 3 4 5  # Default-Stop: 0 1 6  # Short-Description: purge-varnish is a daemon purging the Alaveteli varnish cache  # Description: purge-varnish purge the Alaveteli varnish cache @@ -13,10 +13,10 @@  # !!(*= $daemon_name *)!! Start the Alaveteli email purge-varnish daemon  NAME=!!(*= $daemon_name *)!! -DAEMON=/data/vhost/!!(*= $vhost *)!!/alaveteli/script/runner +DAEMON=!!(*= $vhost_dir *)!!/alaveteli/script/runner  DAEMON_ARGS="--daemon PurgeRequest.purge_all_loop" -PIDFILE=/data/vhost/!!(*= $vhost *)!!/purge-varnish.pid -LOGFILE=/data/vhost/!!(*= $vhost *)!!/logs/purge-varnish.log +PIDFILE=!!(*= $vhost_dir *)!!/purge-varnish.pid +LOGFILE=!!(*= $vhost_dir *)!!/logs/purge-varnish.log  DUSER=!!(*= $user *)!!  trap "" 1 @@ -48,17 +48,17 @@ case "$1" in            exit 0        fi        ;; -   +    start)        echo -n "Starting Alaveteli purge-varnish daemon: $NAME"        start_daemon        ;; -   +    stop)          echo -n "Stopping Alaveteli purge-varnish daemon: $NAME"          stop_daemon          ;; -   +    restart)        echo -n "Restarting Alaveteli purge-varnish daemon: $NAME"        stop_daemon | 
