1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Fix Shutdown, don't hang!
DefaultDependencies=no
Before=shutdown.target

[Service]
Type=oneshot
ExecStart=/etc/systemd/system/scripts/fix_shutdown
[Install]
WantedBy=shutdown.target