summarylogtreecommitdiffstats
path: root/mythbackend.service
blob: 05ce1fb42997e13b1531115afa13462fcf57903b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=MythTV Backend
Wants=network-online.target mysqld.service
After=network.target mysqld.service

[Service]
Type=simple
Environment=HOME=/var/lib/mythtv
User=mythtv
ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
#ExecStop=/usr/bin/mythshutdown --shutdown
Restart=on-failure

[Install]
WantedBy=multi-user.target