PKGBUILDs/community/mythtv/mythbackend.service
2016-10-01 15:23:49 +00:00

17 lines
375 B
Desktop File

[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