1
0
Fork 0
MMDVMHost-Websocketboard/systemd/logtailer.service
Kim Huebel 9355e2d24b Modified system-scripts to not run as root but as system-user mmdvm.
Also added command in installation steps to create this user
2021-01-28 21:49:09 +00:00

16 lines
343 B
Desktop File

[Unit]
Description=Python3 logtailer for MMDVMDash
After=network.target
[Service]
Type=simple
User=mmdvm
Group=mmdvm
Restart=always
ExecStartPre=/bin/sleep 30
# Modify for different location of Python3 or other port
WorkingDirectory=/opt/MMDVMDash/
ExecStart=/usr/bin/python3 /opt/MMDVMDash/logtailer.py
[Install]
WantedBy=multi-user.target