summaryrefslogtreecommitdiffhomepage
path: root/debian/midiplay.service
blob: 0b362184715f26e38d67a1139fcee28a889fdc86 (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=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