sneakernet/copystation.service

21 lines
395 B
SYSTEMD
Raw Normal View History

2023-07-30 12:37:23 +00:00
[Unit]
Description=copystation
[Service]
Type=simple
Restart=always
RestartSec=5s
WorkingDirectory=/home/pi/
ExecStart=/home/pi/copystation
Restart=always
PermissionsStartOnly=true
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=sleepservice
[Install]
WantedBy=multi-user.target
# this goes to: /etc/systemd/system/copystation.service
# and chmod +x /home/pi/copystation (binary)