FreeBSD Bugzilla – Attachment 201171 Details for
Bug 234648
security/strongswan: start/stop/reload modern vici-based configurations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Use a separate rc.d script
strongswan_swanctl.in (text/plain), 721 bytes, created by
Jose Luis Duran
on 2019-01-15 20:34:56 UTC
(
hide
)
Description:
Use a separate rc.d script
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2019-01-15 20:34:56 UTC
Size:
721 bytes
patch
obsolete
>#!/bin/sh ># Start or stop strongswan using swanctl ># $FreeBSD$ > ># PROVIDE: strongswan_swanctl ># REQUIRE: DAEMON ># BEFORE: LOGIN ># KEYWORD: shutdown > >. /etc/rc.subr > >name=strongswan_swanctl >desc="Start or stop strongswan using swanctl" >rcvar=strongswan_swanctl_enable > >load_rc_config $name > >: ${strongswan_swanctl_enable:=NO} > >pidfile=/var/run/charon-daemon.pid >charon_pidfile=/var/run/charon.pid >charon_command=%%PREFIX%%/libexec/ipsec/charon >swanctl_command=%%PREFIX%%/sbin/swanctl >command=/usr/sbin/daemon >command_args="-rS -p ${charon_pidfile} -P ${pidfile} ${charon_command}" > >start_postcmd=${name}_poststart > >strongswan_swanctl_poststart() >{ > sleep 1 > ${swanctl_command} --load-all --noprompt >} > >run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 234648
:
200820
|
200947
|
200948
|
201047
|
201171
|
201208
|
201209
|
202474
|
202573