blob: 76ec4011a7de3ffbcfdc3363d37af1d9f922a762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[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
|