When DMVPN is configured, sometime strongswan can not apply configuration for daemon is down reasons
vyos@VyOS-Spoke1:~$ restart vpn
Restarting IPsec process...
connecting to 'unix:///var/run/charon.vici' failed: Connection refused
Error: connecting to 'default' URI failed: Connection refused
strongSwan 5.7.2 swanctl
usage:
swanctl --load-all [--raw|--pretty] [--clear] [--noprompt]
--help (-h) show usage information
--clear (-c) clear previously loaded credentials
--noprompt (-n) do not prompt for passwords
--raw (-r) dump raw response message
--pretty (-P) dump raw response message in pretty print
--file (-f) custom path to swanctl.conf
--debug (-v) set debug level, default: 1
--options (-+) read command line options from file
--uri (-u) service URI to connect toWe need to check that daemon is ready to listen to commands before applying it https://github.com/vyos/vyatta-op-vpn/commit/49ebd98d580c8cea83da510ded19d7bc163218c4