[Unit] Description=Midiplay After=network.target [Service] Type=simple # Restart=always ExecStart=sh -c "cd /home/ernie/code/midiplay && make run-fcgi" # Restart once a week, maybe certificates have changed Restart=always RuntimeMaxSec=604800 # webserver will lower privileges to www-data:www-data #User=www-data #Group=www-data [Install] WantedBy=multi-user.target