2 changed files with 16 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||
- if: |
|||
- path: /etc/systemd/system/broken.service |
|||
op: [created, updated] |
|||
run: /bin/sh -Eeuo pipefail -c 'systemctl enable broken.service ; systemctl restart --no-block broken.service' |
|||
timeout: 5m |
|||
@ -0,0 +1,11 @@ |
|||
[Unit] |
|||
Description=Broken service |
|||
After=network-online.target |
|||
Wants=network-online.target |
|||
|
|||
[Service] |
|||
Type=oneshot |
|||
ExecStart=/bin/sh -c 'echo "I am DEAD !!!" ; exit 1' |
|||
|
|||
[Install] |
|||
WantedBy=multi-user.target |
|||
Loading…
Reference in new issue