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 parent
1815c1de52
commit
35392aa869
327 files changed
+841
-841
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user