summaryrefslogtreecommitdiff
path: root/community/mythtv/mythbackend.service
blob: aa9427ced11d0fef8a5fccb1c886a74162f69413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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

[Install]
WantedBy=multi-user.target