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

Richard Shaw hobbes1069 at gmail.com
Thu Nov 17 21:34:13 UTC 2011


Ok, reviving this conversation!

I ran into the issue that user "mythtv" can not create the file
"/var/run/mythbackend.pid". I see other services that have their pid
file owned by their own user...

Also, user "mythtv" can't write to the log file in /var/log/mythtv/

How do I do this with systemd?

I assume I can update the ownership of /var/log/mythtv during package
install, but I don't know what I can do about /var/run...

Thanks,
Richard


More information about the devel mailing list