[Pkg-privacy-commits] [onioncat] 133/241: Debian: small changes
Intrigeri
intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:50 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 a4fa2eb0e8c38af487e6be554ffb91004ff6d4c3
Author: axp <axp at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Fri Feb 20 13:25:22 2009 +0000
Debian: small changes
git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@445 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
debian/init.d.lsb.ex | 12 ++++++------
debian/ocat.default | 10 ++++++++++
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/debian/init.d.lsb.ex b/debian/init.d.lsb.ex
index 32711b3..dd3acf6 100644
--- a/debian/init.d.lsb.ex
+++ b/debian/init.d.lsb.ex
@@ -30,7 +30,7 @@
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: <Enter a short description of the sortware>
+# Short-Description: <OnionCat An IP-Transparent Tor Hidden Service Connector>
# Description: <Enter a long description of the software>
# <...>
# <...>
@@ -38,9 +38,9 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/onioncat # Introduce the server's location here
-NAME=#PACKAGE # Introduce the short server's name here
-DESC=#PACKAGE # Introduce a short description here
+DAEMON=/usr/bin/ocat # Introduce the server's location here
+NAME=ocat # Introduce the short server's name here
+DESC="OnionCat Hidden Service Connector"# Introduce a short description here
LOGDIR=/var/log/onioncat # Log directory to use
PIDFILE=/var/run/$NAME.pid
@@ -51,7 +51,7 @@ test -x $DAEMON || exit 0
# Default options, these can be overriden by the information
# at /etc/default/$NAME
-DAEMON_OPTS="" # Additional options given to the server
+DAEMON_OPTS="-u debian-tor" # Additional options given to the server
DIETIME=10 # Time to wait for the server to die, in seconds
# If this value is set too low you might not
@@ -68,7 +68,7 @@ DIETIME=10 # Time to wait for the server to die, in seconds
# when it actually did)
LOGFILE=$LOGDIR/$NAME.log # Server logfile
-#DAEMONUSER=onioncat # Users to run the daemons as. If this value
+DAEMONUSER=debian-tor # Users to run the daemons as. If this value
# is set start-stop-daemon will chuid the server
# Include defaults if available
diff --git a/debian/ocat.default b/debian/ocat.default
new file mode 100644
index 0000000..8bba0bf
--- /dev/null
+++ b/debian/ocat.default
@@ -0,0 +1,10 @@
+# Defaults for onioncat initscript
+# sourced by /etc/init.d/onioncat
+# installed at /etc/default/onioncat by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS="-u debian-tor"
--
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