Recreados todos los scripts
This commit is contained in:
12
led-on.service
Normal file
12
led-on.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Enciende el LED al arrancar
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=/opt/raspberry_scripts/led_config.conf
|
||||
ExecStart=/bin/sh -c '/usr/bin/gpioset ${CHIP} ${LINE}=1'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user