aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-06-18 14:14:26 -0700
committerLouise Crow <louise.crow@gmail.com>2013-06-18 14:15:36 -0700
commit60beb580aa7c74ef82666a29bc19ddb5c76f1042 (patch)
treea81dfc6b098229325378591deb47ba0207c9193f
parentc8f5e24f769e8aaf96b4d07dc68fbf88852bcea2 (diff)
Use daemon_name as service name rather than hardcoding to give more flexibility in running multiple instances on a server.
-rw-r--r--config/alert-tracks-debian.ugly6
-rw-r--r--config/purge-varnish-debian.ugly6
2 files changed, 6 insertions, 6 deletions
diff --git a/config/alert-tracks-debian.ugly b/config/alert-tracks-debian.ugly
index 2b52ad840..29a350a0e 100644
--- a/config/alert-tracks-debian.ugly
+++ b/config/alert-tracks-debian.ugly
@@ -1,13 +1,13 @@
#!/bin/bash
#
### BEGIN INIT INFO
-# Provides: alert-tracks
+# Provides: !!(*= $daemon_name *)!!
# Required-Start: $local_fs $syslog
# Required-Stop: $local_fs $syslog
# 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
+# Short-Description: !!(*= $daemon_name *)!! is a daemon running the Alaveteli email alerts
+# Description: !!(*= $daemon_name *)!! sends Alaveteli email alerts as required
### END INIT INFO
#
# !!(*= $daemon_name *)!! Start the Alaveteli email alert daemon
diff --git a/config/purge-varnish-debian.ugly b/config/purge-varnish-debian.ugly
index af32650a8..04458ea78 100644
--- a/config/purge-varnish-debian.ugly
+++ b/config/purge-varnish-debian.ugly
@@ -1,13 +1,13 @@
#!/bin/bash
#
### BEGIN INIT INFO
-# Provides: purge-varnish
+# Provides: !!(*= $daemon_name *)!!
# Required-Start: $local_fs $syslog
# Required-Stop: $local_fs $syslog
# 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
+# Short-Description: !!(*= $daemon_name *)!! is a daemon purging the Alaveteli varnish cache
+# Description: !!(*= $daemon_name *)!! purges the Alaveteli varnish cache
### END INIT INFO
#
# !!(*= $daemon_name *)!! Start the Alaveteli email purge-varnish daemon