projects
/
mercuryms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run service as non-root user
[mercuryms.git]
/
mercuryms.service
diff --git
a/mercuryms.service
b/mercuryms.service
index
b132660
..
50044a8
100644
(file)
--- a/
mercuryms.service
+++ b/
mercuryms.service
@@
-4,6
+4,9
@@
After=network.target
[Service]
Type=simple
[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"
ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
Environment="MERCURYMS_PORT=9092"