ansible-sample/roles/network/files/routers/my-shutdown-script.service
2026-09-23 14:26:05 +09:00

13 lines
215 B
Desktop File

[Unit]
Description=Run scripts at shutdown
DefaultDependencies=no
Before=shutdown.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/my-shutdown-script.sh
TimeoutStartSec=0
[Install]
WantedBy=shutdown.target