add systemd service
This commit is contained in:
parent
8c2c090794
commit
fae63c9a57
|
@ -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
|
Loading…
Reference in New Issue