[Bug 1450762] Re: creates failing openvpn at client.service unit
nenhard
few.find.first at gmail.com
Wed May 27 09:53:33 UTC 2015
Well,
this part of code was never reached when invoking
sudo /etc/init.d/openvpn start
case "$1" in
start)
log_action_begin_msg "Starting $DESC"
# first create /run directory so it's present even
# when no VPN are autostarted by this script, but later
# by systemd openvpn at .service
mkdir -p /run/openvpn
# autostart VPNs
if test -z "$2" ; then
# check if automatic startup is disabled by AUTOSTART=none
if test "x$AUTOSTART" = "xnone" -o -z "$AUTOSTART" ; then
log_warning_msg " Autostart disabled, no VPN will be started."
exit 0
fi
if test -z "$AUTOSTART" -o "x$AUTOSTART" = "xall" ; then
# all VPNs shall be started automatically
for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do
NAME=${CONFIG%%.conf}
log_daemon_msg " Autostarting VPN '$NAME'"
start_vpn
done
else
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1450762
Title:
creates failing openvpn at client.service unit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1450762/+subscriptions
More information about the Ubuntu-server-bugs
mailing list