[Pkg-privacy-commits] [onioncat] 151/241: init startup weirdness ....
Intrigeri
intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch upstream-master
in repository onioncat.
commit e25f9feef8709362af9dd01b5bec1b41f177b2ec
Author: axp <axp at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Fri Feb 20 16:17:25 2009 +0000
init startup weirdness ....
git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@463 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
debian/init.d | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/debian/init.d b/debian/init.d
index 20ee51e..6c6e069 100644
--- a/debian/init.d
+++ b/debian/init.d
@@ -15,11 +15,11 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/bin/ocat # Introduce the server's location here
-NAME=ocat # Introduce the short server's name here
+DAEMON=/usr/bin/ocat
+NAME=ocat
NAMEL=onioncat
-DESC="OnionCat Hidden Service Connector"# Introduce a short description here
-LOGDIR=/tmp # Log directory to use
+DESC="OnionCat Hidden Service Connector"
+LOGDIR=/tmp
PIDFILE=/var/run/$NAME.pid
@@ -45,18 +45,21 @@ DIETIME=10 # Time to wait for the server to die, in seconds
# be a false positive (says it did not start
# when it actually did)
-LOGFILE=$LOGDIR/$NAMEL.log # Server logfile
+LOGFILE=$LOGDIR/$NAMEL.log
#DAEMONUSER=debian-tor # Users to run the daemons as. If this value
# is set start-stop-daemon will chuid the server
+# Defaults - don't touch, edit /etc/default/onioncat
+ENABLED=0
+
+
+
# Include defaults if available
if [ -f /etc/default/$NAMEL ] ; then
. /etc/default/$NAMEL
fi
-# Defaults - don't touch, edit /etc/default/onioncat
-ENABLED=0
if [ "$ENABLED" = "0" ]; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git
More information about the Pkg-privacy-commits
mailing list