Add a socket service that downloads images and puts them in NextCloud
[mercuryms.git] / mercuryms.service
1 [Unit]
2 Description=MercuryMS Webhook Server
3 After=network.target
4
5 [Service]
6 Type=simple
7 User=mercuryms
8 Group=mercuryms
9 WorkingDirectory=/usr/share/mercuryms
10 StandardOutput=syslog
11 ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
12 Environment="MERCURYMS_PORT=9092"
13
14 [Install]
15 WantedBy=multi-user.target