Re: Mythtv logging
Richard Shaw <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <CAN3TeO2R2bikaE8ZUER6ujesc43eoEQeK-chD3070Buk101SNw@mail.gmail.com> |
On Thu, Nov 29, 2012 at 10:30 AM, John Pilkington <[email protected]> wrote: > On 29/11/12 13:45, Duncan Brown wrote: > >> Hello All >> >> I'm not a huge fan of the current mythtv logging method which results in >> huge amounts of separate log files, so I've changed to using syslog. >> >> This involves changing the command in init.d/mythbackend to "--syslog >> local7" instead of "--logpath /var/log/mythtv/" >> >> This works great, but every time I upgrade the init.d file is >> overwritten. Is there anyway of stopping that file being overwritten by >> the upgrade each time? > > Sorry, replying here since I don't have the original email... You could use my systemd service file (RPM Fusion) instead of SysV. This way you can override the behavior permanently. Take the file that normally goes in /lib/systemd/system and copy it to /etc/systemd/system (or something like that). SystemD will search this directory first and will override any files of the same name in /lib... All you need to do after that is keep an eye on any changes/improvements to the packaged systemd file so you know if you need to update yours. Richard _______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users