testing: Use renamed systemd unit
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?).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
|
||||
@@ -6,8 +6,8 @@ moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
|
||||
sun::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
|
||||
moon::iptables-restore < /etc/iptables.rules
|
||||
sun::iptables-restore < /etc/iptables.rules
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection net-net
|
||||
sun::expect-connection net-net
|
||||
moon::swanctl --initiate --child net-net 2> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user