Run service as non-root user
[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 ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
11 Environment="MERCURYMS_PORT=9092"
12
13 [Install]
14 WantedBy=multi-user.target