1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=/etc/rc.local.shutdown Compatibility ConditionPathIsExecutable=/etc/rc.local.shutdown DefaultDependencies=no After=rc-local.service basic.target Before=shutdown.target [Service] Type=oneshot ExecStart=/etc/rc.local.shutdown StandardInput=tty RemainAfterExit=yes