[ create a new paste ] login | about

Link: http://codepad.org/4OfHyXRk    [ raw code | fork ]

Plain Text, pasted on Aug 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Auto-Unregister Github Actions Runner at shutdown
Requires=network-online.target
DefaultDependencies=no
Before=shutdown.target halt.target

[Service]
Type=oneshot
TimeoutStopSec=60
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=/home/test/serviceunregister.sh

[Install]
WantedBy=multi-user.target


Create a new paste based on this one


Comments: