Skip to content

Instantly share code, notes, and snippets.

@darksidelemm
Created October 27, 2023 05:34
Show Gist options
  • Save darksidelemm/ba3b3025ffc1b19fb5d0b0fbdc7efc7c to your computer and use it in GitHub Desktop.
Save darksidelemm/ba3b3025ffc1b19fb5d0b0fbdc7efc7c to your computer and use it in GitHub Desktop.
SpyServer Systemd Service File
[Unit]
Description=spyserver
After=syslog.target
[Service]
# For running outside of a python virtual environment
ExecStart=/home/pi/spyserver/spyserver /home/pi/spyserver/spyserver_autorx.config
Restart=always
RestartSec=15
WorkingDirectory=/home/pi/spyserver/
User=pi
SyslogIdentifier=spyserver
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment