Untitled
raw download clone
TEXT
views 18
,
size 387 b
[Unit]
Description=Simple software GPIO setup and teardown
After=network.target remote-fs.target syslog.target time.target

[Service]
Type=simple
User=root
Group=daemon
PIDFile=${PIDFILE}
ExecStart=/usr/sbin/gpio_up
ExecStop=/usr/sbin/gpio_down
#Restart=on-failure
TimeoutStartSec=60
WorkingDirectory=/etc
RemainAfterExit=True

[Install]
WantedBy=multi-user.target
close fullscreen
Login or Register to edit or fork this paste. It's free.