dd-re/etc/systemd/system/dd-re.service

15 lines
232 B
SYSTEMD
Raw Normal View History

2017-11-01 23:18:51 +00:00
[Unit]
Description=dd-re
[Service]
Type=simple
Restart=always
User=dd
Group=dd
WorkingDirectory=/srv/dd/re
2018-01-22 22:47:40 +00:00
ExecStartPre=/usr/bin/wait-for-it -h pandora.dmp -p 80
2017-11-01 23:18:51 +00:00
ExecStart=/srv/dd/re/server.py
[Install]
WantedBy=multi-user.target