mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
Update i2pd.init
This commit is contained in:
parent
aaa52bd767
commit
b83ab85fd9
8
debian/i2pd.init
vendored
8
debian/i2pd.init
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue