diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 23:20:31 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 23:20:31 -0400 |
commit | c2f32172700fd263f139fd98b34a7807daf57164 (patch) | |
tree | 244418255803bd4486fa597082719c78c99d6eb9 | |
parent | 55cc893077e41a98e71707667b170901e2d4f1bd (diff) | |
download | puppet-reprepro-c2f32172700fd263f139fd98b34a7807daf57164.tar.gz puppet-reprepro-c2f32172700fd263f139fd98b34a7807daf57164.tar.bz2 |
fix startup script to be explicitely for reprepro
-rwxr-xr-x | files/inoticoming.init | 13 | ||||
-rw-r--r-- | templates/inoticoming.default.erb | 2 |
2 files changed, 6 insertions, 9 deletions
diff --git a/files/inoticoming.init b/files/inoticoming.init index 4ccafdc..e16ffd1 100755 --- a/files/inoticoming.init +++ b/files/inoticoming.init @@ -1,15 +1,12 @@ #! /bin/sh ### BEGIN INIT INFO -# Provides: inoticoming +# Provides: reprepro # Required-Start: $local_fs $syslog # Required-Stop: $local_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Example initscript for inoticoming -# Description: This script provides an example how to start an instance -# of inoticoming via an initscript. Place this file in -# /etc/init.d, e.g. as /etc/init.d/inoticoming, and define -# your settings in /etc/default/inoticoming. +# Short-Description: Reprepro startup script for inoticoming support +# Description: This script an instance of inoticoming via an initscript. ### END INIT INFO # Copyright (c) 2008 by Tilman Koschnick <til@subnetz.org> @@ -20,8 +17,8 @@ # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC="incoming queue monitor" -NAME=inoticoming +DESC="reprepro incoming queue monitor" +NAME=reprepro DAEMON=/usr/bin/inoticoming PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME diff --git a/templates/inoticoming.default.erb b/templates/inoticoming.default.erb index 3b81fc8..b666851 100644 --- a/templates/inoticoming.default.erb +++ b/templates/inoticoming.default.erb @@ -3,7 +3,7 @@ # for an explanation of options and actions, see inoticoming(1) # user to run inoticoming as -USER=incoming +USER=reprepro # log to some file instead of syslog # required if you want to use --stdout-to-log or --stderr-to-log in actions |