From b83ab85fd90df01810becff8d9c91410c8696780 Mon Sep 17 00:00:00 2001 From: MXPLRS | Kirill Date: Fri, 12 Aug 2016 22:21:33 +0300 Subject: [PATCH] Update i2pd.init --- debian/i2pd.init | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/debian/i2pd.init b/debian/i2pd.init index 02b37546..32c181bb 100644 --- a/debian/i2pd.init +++ b/debian/i2pd.init @@ -41,10 +41,6 @@ do_start() return 2 fi - if [ -n "$I2PD_PORT" ]; then - DAEMON_OPTS="--port $I2PD_PORT $DAEMON_OPTS" - fi - touch "$PIDFILE" chown -f $USER:adm "$PIDFILE" @@ -103,7 +99,7 @@ case "$1" in status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; - reload|force-reload) + reload) log_daemon_msg "Reloading $DESC" "$NAME" do_reload log_end_msg $? @@ -127,7 +123,7 @@ case "$1" in esac ;; *) - echo "Usage: $0 {start|stop|status|restart|force-reload}" >&2 + echo "Usage: $0 {start|stop|status|restart|reload}" >&2 exit 3 ;; esac