mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
26 lines
319 B
Plaintext
26 lines
319 B
Plaintext
#!/sbin/runscript
|
|
|
|
# libreswan ipsec init.d file for alpine linux.
|
|
|
|
name=ipsec
|
|
daemon=/usr/libexec/ipsec/setup
|
|
pidfile=/var/run/pluto/ipsec_setup.pid
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting ${name}"
|
|
$daemon start
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ${name}"
|
|
$daemon stop
|
|
eend $?
|
|
}
|
|
|