[Pkg-privacy-commits] [onioncat] 151/340: init startup weirdness ....
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository onioncat.
commit d409ee9a893753566d6b1d45be0bd812f57bf2f8
Author: axp <axp at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Fri Feb 20 16:17:25 2009 +0000
init startup weirdness ....
git-svn-id: http://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