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