+.config/yt-dlp.conf
[nethome.git] / bin / shutdown-detect.service
1 # jankratochvil:
2 # ln -s ../../../root/bin/shutdown-detect.service /etc/systemd/system/shutdown-detect.service; systemctl enable shutdown-detect.service
3 # https://unix.stackexchange.com/a/41756/296319
4
5 [Unit]
6 Description=shutdown-detect
7
8 [Service]
9 Type=oneshot
10 RemainAfterExit=true
11 ExecStart=/root/bin/shutdown-detect-boot
12 ExecStop=/root/bin/shutdown-detect
13
14 [Install]
15 WantedBy=multi-user.target