9355e2d24b
Also added command in installation steps to create this user
15 lines
322 B
Desktop File
15 lines
322 B
Desktop File
[Unit]
|
|
Description=Python3 http.server
|
|
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
|
|
ExecStart=/usr/bin/python3 -m http.server 8000 --directory /opt/MMDVMDash/html
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|