[Unit] Description=Midiplay After=network.target [Service] Type=simple # Restart=always ExecStart=midiplay # 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