[shellinabox] Fix startup parameter
Simone Caronni
slaanesh at fedoraproject.org
Mon Sep 24 14:20:39 UTC 2012
commit 1f57bb94ef9134c0e3ac7dbd9fde8fcb50e7466e
Author: Simone Caronni <negativo17 at gmail.com>
Date: Mon Sep 24 16:20:21 2012 +0200
Fix startup parameter
shellinaboxd.init | 2 +-
shellinaboxd.service | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shellinaboxd.init b/shellinaboxd.init
index bed1597..7acfd4f 100644
--- a/shellinaboxd.init
+++ b/shellinaboxd.init
@@ -24,7 +24,7 @@ start() {
[ "$EUID" != "0" ] && exit 4
echo -n "Starting $prog: "
- daemon $prog -u $USER -g $GROUP --certdir=$CERTDIR --port=$PORT --background=/var/run/$prog.pid $OPTS
+ daemon $prog -u $USER -g $GROUP --cert=$CERTDIR --port=$PORT --background=/var/run/$prog.pid $OPTS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
diff --git a/shellinaboxd.service b/shellinaboxd.service
index 9fde66d..4f01c7f 100644
--- a/shellinaboxd.service
+++ b/shellinaboxd.service
@@ -6,7 +6,7 @@ After=network.target nss-lookup.target
[Service]
EnvironmentFile=-/etc/sysconfig/shellinaboxd
-ExecStart=/usr/sbin/shellinaboxd -u $USER -g $GROUP --certdir=$CERTDIR --port=$PORT $OPTS
+ExecStart=/usr/sbin/shellinaboxd -u $USER -g $GROUP --cert=$CERTDIR --port=$PORT $OPTS
Restart=always
[Install]
More information about the scm-commits
mailing list