add systemd service

This commit is contained in:
j 2017-11-01 23:18:51 +00:00
parent 8c2c090794
commit fae63c9a57

View file

@ -0,0 +1,13 @@
[Unit]
Description=dd-re
[Service]
Type=simple
Restart=always
User=dd
Group=dd
WorkingDirectory=/srv/dd/re
ExecStart=/srv/dd/re/server.py
[Install]
WantedBy=multi-user.target