first commit

This commit is contained in:
root
2025-07-24 20:08:10 +02:00
commit 2c7a352351
8 changed files with 169 additions and 0 deletions

12
led_off.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=Ejecutar Mi Script en el Apagado
DefaultDependencies=no
Before=shutdown.target reboot.target halt.target
[Service]
Type=oneshot
ExecStart=/opt/scripts/off.py
RemainAfterExit=true
[Install]
WantedBy=halt.target reboot.target shutdown.target