13 lines
266 B
Desktop File
13 lines
266 B
Desktop File
[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
|