add systemd service
This commit is contained in:
parent
8c2c090794
commit
fae63c9a57
1 changed files with 13 additions and 0 deletions
13
etc/systemd/system/dd-re.service
Normal file
13
etc/systemd/system/dd-re.service
Normal 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
|
Loading…
Reference in a new issue