[Unit]
Description=dd-re
[Service]
Type=simple
Restart=always
User=dd
Group=dd
WorkingDirectory=/srv/dd/re
ExecStartPre=/usr/bin/wait-for-it -h pandora.dmp -p 80
ExecStart=/srv/dd/re/server.py
[Install]
WantedBy=multi-user.target