projects
/
mercuryms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a socket service that downloads images and puts them in NextCloud
[mercuryms.git]
/
mercuryms.service
diff --git
a/mercuryms.service
b/mercuryms.service
index
160d31e
..
8fe1143
100644
(file)
--- a/
mercuryms.service
+++ b/
mercuryms.service
@@
-4,7
+4,12
@@
After=network.target
[Service]
Type=simple
[Service]
Type=simple
+User=mercuryms
+Group=mercuryms
+WorkingDirectory=/usr/share/mercuryms
+StandardOutput=syslog
ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
+Environment="MERCURYMS_PORT=9092"
[Install]
WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target