aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/rw-pubkey-anon/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/rw-pubkey-anon/posttest.dat')
-rwxr-xr-xtesting/tests/swanctl/rw-pubkey-anon/posttest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/swanctl/rw-pubkey-anon/posttest.dat b/testing/tests/swanctl/rw-pubkey-anon/posttest.dat
index 48a4abe78..dba97a988 100755
--- a/testing/tests/swanctl/rw-pubkey-anon/posttest.dat
+++ b/testing/tests/swanctl/rw-pubkey-anon/posttest.dat
@@ -1,8 +1,8 @@
carol::swanctl --terminate --ike home
dave::swanctl --terminate --ike home
-carol::service charon stop 2> /dev/null
-dave::service charon stop 2> /dev/null
-moon::service charon stop 2> /dev/null
+carol::systemctl stop strongswan-swanctl
+dave::systemctl stop strongswan-swanctl
+moon::systemctl stop strongswan-swanctl
moon::rm /etc/swanctl/pubkey/*
carol::rm /etc/swanctl/pubkey/*
dave::rm /etc/swanctl/pubkey/*