trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Does artsd need a daemon service file for systemd - if so, anybody have one?

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 26 Jan 2014 18:29:06 -0600
On 01/26/2014 06:18 PM, David C. Rankin wrote:
> On 01/26/2014 02:54 PM, Calvin Morrison wrote:
>> systemd is compatible with old school sysv scripts no?
> 
>   Yes, but it looks sloppy to have /etc/rc.d/anything.... Nothing will turn the
> Arch devs noses up quicker. I got one for kdebase and a couple of others. Most
> of the tde apps will NOT need one since they are launched via .desktop files,
> but for the daemons and other things launched via starttrinity or xinit, we may
> need one for completeness.
> 
>   I'm still working on what does/does NOT need the systemd service files.
> Basically, as a rule of thumb, if it was originally packaged with a sysvinit
> script in /etc/rc.d/foo then I think we provide a .service.
> 
>   I really need a tutorial on what gets "one-shot"'ed, etc.. If you or anyone
> has a good link or reference for what the criteria of how service files are
> setup for different types of processes, I would welcome the help.
> 
>   man systemd.unit does a pretty good job, but it is written with man page
> mentality - great for a reference for experienced unit file creators. Maybe not
> so good for learning it. There are some useful freedesktop links at the bottom
> that help.
> 

For packagers with similar questions:

  http://0pointer.de/blog/projects/systemd-for-admins-3.html

-- 
David C. Rankin, J.D.,P.E.