Run service as non-root user
[mercuryms.git] / mercuryms.service
CommitLineData
02a81b72
JC
1[Unit]
2Description=MercuryMS Webhook Server
3After=network.target
4
5[Service]
6Type=simple
c53cc8d5
JC
7User=mercuryms
8Group=mercuryms
9WorkingDirectory=/usr/share/mercuryms
02a81b72 10ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py
34532339 11Environment="MERCURYMS_PORT=9092"
02a81b72
JC
12
13[Install]
14WantedBy=multi-user.target