On Wed, 19.10.11 18:58, "Jóhann B. Guðmundsson" (johannbg(a)gmail.com) wrote:
This is what I wrote a while back for mythtv in rpmfusion but never
submitted since I could not find someone to test it.
Note this got picked up by someone and adapted to atrpm version the
Cant recall if that indvidual pinged me on irc or on some mailing list.
After=syslog.target network.target mysqld.service
The After=syslog.target is unnecessary these days and should be removed
to keep things simple.
Is this really necessary? $HOME is something that should be set
according to the user something is run as. And it should be set in the
same code that drops the privileges.
ExecStart=/usr/bin/mythbackend --daemon --logfile
/var/log/mythtv/mythbackend.log --pidfile /run/mythbackend.pid
We now default to syslog logging, so I can only recommend to drop this
line here, in order not to override the system-wide setting.
Lennart Poettering - Red Hat, Inc.