mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
init
This commit is contained in:
1 parent
fdcd79983a
commit
7385b59c72
43 files changed
+1729
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Run my custom task at shutdown only
|
||||
DefaultDependencies=no
|
||||
Before=poweroff.target halt.target shutdown.target reboot.target
|
||||
Requires=poweroff.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=systemctl stop lcd_control.service
|
||||
ExecStart=/usr/bin/python3 /usr/bin/lcd_control_restart.py
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=shutdown.target
|
||||
Reference in new issue
Block a user