summarylogtreecommitdiffstats
path: root/mythbackend.service
blob: 2adbc3d07d2b144a9b49d8899098158587f58b81 (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
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