Skip to content

Commit

Permalink
added service unit example
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Acker committed Jun 23, 2024
1 parent be148bf commit cace28c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions eddnws/eddnws.service.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=EDDN Websocket Server
Wants=network-online.target
After=syslog.target network.target nss-lookup.target network-online.target

[Service]
ExecStart=/home/eddn/eddnws/venv/bin/python3 /home/eddn/eddnws/eddnws.py
Restart=on-failure
SyslogIdentifier=eddnws
User=eddn
Group=eddn

[Install]
WantedBy=multi-user.target

0 comments on commit cace28c

Please sign in to comment.