From c2f32172700fd263f139fd98b34a7807daf57164 Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Tue, 21 Jun 2011 23:20:31 -0400 Subject: fix startup script to be explicitely for reprepro --- files/inoticoming.init | 13 +++++-------- 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 @@ -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 -- cgit v1.2.3