LoRaWAN-Signal-Mapping/ttn-listener.service

26 lines
540 B
SYSTEMD
Raw Normal View History

2019-07-16 16:39:22 +00:00
[Unit]
Description=Msc Summer Project TTN Listener
After=network.target
# No more than 5 crashes in 12 hours
StartLimitIntervalSec=43200
StartLimitBurst=5
[Service]
Type=simple
#PIDFile=/run/rhinoreminds/rhinoreminds.pid
# We change our own user
User=sbrl
WorkingDirectory=/home/sbrl/Msc-Summer-Project
ExecStart=/home/sbrl/Msc-Summer-Project/build server-ttn
Restart=always
# Other Restart options: or always, on-abort, etc
2019-07-16 17:01:17 +00:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=ttn-listener
2019-07-16 16:39:22 +00:00
[Install]
WantedBy=multi-user.target