Lines Matching refs:service
10 service=$1
14 state=$(systemctl show "$service" --property=ActiveState --value)
22 state=$(systemctl show "$service" --property=ActiveState --value)
28 cat >/run/systemd/system/testservice-failure-68.service <<EOF
30 OnFailure=testservice-failure-exit-handler-68.service
36 cat >/run/systemd/system/testservice-failure-68-template.service <<EOF
38 OnFailure=testservice-failure-exit-handler-68-template@%n.service
44 cat >/run/systemd/system/testservice-success-68.service <<EOF
46 OnSuccess=testservice-success-exit-handler-68.service
52 cat >/run/systemd/system/testservice-success-68-template.service <<EOF
54 OnSuccess=testservice-success-exit-handler-68-template@%n.service
99 cat >/run/systemd/system/testservice-success-exit-handler-68.service <<EOF
105 cp /run/systemd/system/testservice-success-exit-handler-68.service \
106 /run/systemd/system/testservice-transient-success-exit-handler-68.service
109 cat >/run/systemd/system/testservice-success-exit-handler-68-template@.service <<EOF
156 cat >/run/systemd/system/testservice-failure-exit-handler-68.service <<EOF
167 cp /run/systemd/system/testservice-failure-exit-handler-68.service \
168 /run/systemd/system/testservice-transient-failure-exit-handler-68.service
171 cat >/run/systemd/system/testservice-failure-exit-handler-68-template@.service <<EOF
185 systemctl start testservice-failure-68.service
189 systemctl start testservice-success-68.service
195 --property=OnSuccess=testservice-transient-success-exit-handler-68.service \
201 --property=OnFailure=testservice-transient-failure-exit-handler-68.service \
207 systemctl start testservice-success-68-template.service
211 systemctl start testservice-failure-68-template.service