summarylogtreecommitdiffstats
path: root/mythbackend.service
blob: be2bf06e13338ccff66902a431b48f24c58b9998 (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-online.target mysqld.service

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

[Install]
WantedBy=multi-user.target