Re: Systemd unit file: Can/Should ExecStart and ExecStop run a script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/10/19 "Jóhann B. Guðmundsson" <johannbg@xxxxxxxxx>:
> 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
> other day.
>
> Cant recall if that indvidual pinged me on irc or on some mailing list.
>
> #cat mythbackend.service
>
> [Unit]
> Description=MythTV Backend
> After=syslog.target network.target mysqld.service
>
> [Service]
> Type=forking
> PIDFile=/run/mythbackend.pid
> Environment=MYTHCONFDIR=/etc/mythtv
> Environment=HOME=/etc/mythtv
> ExecStart=/usr/bin/mythbackend --daemon --logfile
> /var/log/mythtv/mythbackend.log --pidfile /run/mythbackend.pid
> StandardError=syslog
>
> [Install]
> WantedBy=multi-user.target

I like that but it doesn't appear to modify the ACL's for the audio
and video devices. I wonder if its really necessary now (or ever was)?

Thanks,
Richard
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux