Changed to systemctl

This commit is contained in:
pdancak 2024-06-04 11:04:53 +02:00
commit fd76fca328

View file

@ -9,12 +9,12 @@ rlJournalStart
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
rlRun "pushd $tmp"
rlRun "rpm -q $PACKAGE"
rlServiceStart cups-browsed
rlServiceStart $PACKAGE
sleep 3
rlPhaseEnd
rlPhaseStartTest
rlServiceStatus "$PACKAGE" 0 "Cups-browsed should be running"
rlRun "systemctl status --no-pager $PACKAGE" 0 "Service should be running"
rlPhaseEnd
rlPhaseStartCleanup