mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/common/templates/rc-local-shutdown.service.j2
Normal file
15
roles/common/templates/rc-local-shutdown.service.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=/etc/rc.d/rc.local.shutdown compatibility
|
||||
ConditionFileIsExecutable=/etc/rc.d/rc.local.shutdown
|
||||
DefaultDependencies=no
|
||||
After=rc-local.service basic.target
|
||||
Before=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/etc/rc.d/rc.local.shutdown
|
||||
StandardInput=tty
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=shutdown.target
|
Reference in New Issue
Block a user