1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Healthchecks cron job monitor. After=syslog.target [Service] ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/healthchecks.ini ExecReload=/bin/kill -HUP $MAINPID ExecStop=/bin/kill -INT $MAINPID Restart=always Type=notify NotifyAccess=all KillSignal=SIGQUIT [Install] WantedBy=multi-user.target