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