diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 18:09:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 18:09:49 +0000 |
commit | 022569715958759a1a5ff2df820865dfc1cafecb (patch) | |
tree | 69a337167ecc86395624f53ab5cb11faadab411b /test/units/TEST-26-SYSTEMCTL.sh | |
parent | Releasing progress-linux version 256-2~progress7.99u1. (diff) | |
download | systemd-022569715958759a1a5ff2df820865dfc1cafecb.tar.xz systemd-022569715958759a1a5ff2df820865dfc1cafecb.zip |
Merging upstream version 256.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/units/TEST-26-SYSTEMCTL.sh')
-rwxr-xr-x | test/units/TEST-26-SYSTEMCTL.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/units/TEST-26-SYSTEMCTL.sh b/test/units/TEST-26-SYSTEMCTL.sh index ae7a5d6..1471f3f 100755 --- a/test/units/TEST-26-SYSTEMCTL.sh +++ b/test/units/TEST-26-SYSTEMCTL.sh @@ -343,6 +343,12 @@ systemctl cat "$UNIT_NAME" systemctl help "$UNIT_NAME" systemctl service-watchdogs systemctl service-watchdogs "$(systemctl service-watchdogs)" +# Ensure that the enablement symlinks can still be removed after the user is gone, to avoid having leftovers +systemctl enable "$UNIT_NAME" +systemctl stop "$UNIT_NAME" +rm -f "/usr/lib/systemd/system/$UNIT_NAME" +systemctl daemon-reload +systemctl disable "$UNIT_NAME" # show/set-environment # Make sure PATH is set |