While the alias is available after enabling the unit, we don't actually do that in our testing environment (adding a symlink manually would work too, then again, why not just use the proper name?).
8 lines
264 B
Plaintext
8 lines
264 B
Plaintext
moon::swanctl --terminate --ike gw-gw 2> /dev/null
|
|
moon::systemctl stop strongswan
|
|
sun::systemctl stop strongswan
|
|
moon::iptables-restore < /etc/iptables.flush
|
|
sun::iptables-restore < /etc/iptables.flush
|
|
moon::rm /etc/swanctl/pubkey/*
|
|
sun::rm /etc/swanctl/pubkey/*
|