diff --git a/mdproxy.service b/mdproxy.service new file mode 100644 index 0000000000000000000000000000000000000000..746feeb5e710379f9bfa50fa589780e00ad7e86e --- /dev/null +++ b/mdproxy.service @@ -0,0 +1,15 @@ +[Unit] +Description=MDProxy +After=syslog.target network.target + +[Service] +Type=simple +WorkingDirectory=/opt/alternate-mdx +ExecStart=/opt/alternate-mdx/bin/python -u mdproxy.py +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +RestartSec=10 +SyslogIdentifier=mdproxy + +[Install] +WantedBy=multi-user.target