charon-tkm: Don't use starter/stroke with charon-tkm anymore
For the tests, the unused init script that was used before switching to charon-systemd is repurposed to manage the daemon.
This commit is contained in:
+6
-6
@@ -1,12 +1,12 @@
|
||||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: charon
|
||||
# Provides: charon-tkm
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: strongSwan charon IKE daemon
|
||||
# Description: with swanctl the strongSwan charon daemon must be
|
||||
# Short-Description: strongSwan charon-tkm IKE daemon
|
||||
# Description: with swanctl the strongSwan charon-tkm daemon must be
|
||||
# running in the background
|
||||
### END INIT INFO
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="strongSwan charon IKE daemon"
|
||||
NAME=charon
|
||||
DESC="strongSwan charon-tkm IKE daemon"
|
||||
NAME=charon-tkm
|
||||
DAEMON=/usr/local/libexec/ipsec/$NAME
|
||||
DAEMON_ARGS=""
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/charon
|
||||
SCRIPTNAME=/etc/init.d/charon-tkm
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
Reference in New Issue
Block a user