diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-05 22:41:46 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-05 23:30:01 +0200 |
commit | d5ab23aa54229e9e89427e7d20883bd8c93fd976 (patch) | |
tree | 142f994121cce979455053ac5b7947270490360e /test/units/autorelabel.service | |
parent | test: load the SELinux module outside of the VM (diff) | |
download | systemd-d5ab23aa54229e9e89427e7d20883bd8c93fd976.tar.xz systemd-d5ab23aa54229e9e89427e7d20883bd8c93fd976.zip |
test: a couple of assorted cleanups
- sort binaries
- send stdout/stderr of the autorelabel service to console as well
Diffstat (limited to 'test/units/autorelabel.service')
-rw-r--r-- | test/units/autorelabel.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/units/autorelabel.service b/test/units/autorelabel.service index 1da1002cde..aad7d111d5 100644 --- a/test/units/autorelabel.service +++ b/test/units/autorelabel.service @@ -10,10 +10,11 @@ ConditionSecurity=selinux ConditionPathExists=|/.autorelabel [Service] -ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && fixfiles -f -F relabel && rm /.autorelabel && systemctl --force reboot' +ExecStart=sh -xec 'echo 0 >/sys/fs/selinux/enforce; fixfiles -f -F relabel; rm /.autorelabel; systemctl --force reboot' Type=oneshot TimeoutSec=0 RemainAfterExit=yes +StandardOutput=journal+console [Install] WantedBy=basic.target |