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:
Tobias Brunner
2019-04-24 13:57:48 +02:00
parent 1815c1de52
commit 35392aa869
327 changed files with 841 additions and 841 deletions
@@ -2,12 +2,12 @@
#
# LEAK_DETECTIVE_LOG is set for automated runs, however, this is not passed
# to a process started via systemctl. This wrapper is used to set the variable
# for the strongswan-swanctl.service unit.
# for the strongswan.service unit.
ORIG=/bin/systemctl
CONF=/lib/systemd/system/strongswan-swanctl.service
CONF=/lib/systemd/system/strongswan.service
if [[ "$2" != "strongswan-swanctl" ]]; then
if [[ "$2" != "strongswan" ]]; then
$ORIG "$@"
fi