Browse Source

add example systemd service file

master
Craig Stewart 3 months ago
parent
commit
56676f6aa4
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      examples/systemd.service

+ 16
- 0
examples/systemd.service View File

@@ -0,0 +1,16 @@
[Unit]
Description=Location Finder
After=syslog.target
After=network.target

[Service]
RestartSec=2s
Type=simple
User=location
Group=location
WorkingDirectory=/opt/location
ExecStart=/opt/location/bin/location-finder
Restart=always

[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save