X-Git-Url: https://git.jacobcasper.com/?p=mercuryms.git;a=blobdiff_plain;f=mercuryms.service;h=50044a860c26b20e993b5fc9fd1043b56bc03a70;hp=160d31e2e9d6f53c3669c609679a713ea67d5c76;hb=c53cc8d52b7d19cd0e9bcba4576b6be72672d717;hpb=02a81b7276a1795e916c364805534243d848d105 diff --git a/mercuryms.service b/mercuryms.service index 160d31e..50044a8 100644 --- a/mercuryms.service +++ b/mercuryms.service @@ -4,7 +4,11 @@ After=network.target [Service] Type=simple +User=mercuryms +Group=mercuryms +WorkingDirectory=/usr/share/mercuryms ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py +Environment="MERCURYMS_PORT=9092" [Install] WantedBy=multi-user.target