Re: Where to put daemontools startup in systemd Jessie?
On Sat, 20 Sep 2014 22:40:58 +0100
Jonathan Dowland <jmtd@debian.org> wrote:
> On Sat, Sep 20, 2014 at 04:02:44PM -0400, Steve Litt wrote:
> > Hi all,
> >
> > Right now I have the following at the bottom of my /etc/rc.local in
> > Wheezy:
> >
> > csh -cf '/command/svscanboot &'
> >
> > How would I accomplish that same thing in systemd-equipped Jessie?
>
> You need to write a .service file for your svscanboot script, and put
> it in /etc/systemd/user.
>
> This is quite a good introduction to doing so:
> http://0pointer.de/blog/projects/systemd-for-admins-3.html
Thanks Jonathan,
That looks easy enough, although I'd have to put some thought into
After= and WantedBy=, assuming I use any WantedBy at all.
SteveT
Steve Litt * http://www.troubleshooters.com/
Troubleshooting Training * Human Performance
Reply to: