[systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit
jen142 at promessage.com
jen142 at promessage.com
Sat Nov 30 12:57:24 PST 2013
Hi,
> amavisd goes to 'background' when started – notice these parts of the
> log:
>
> > amavis[7130]: starting. /usr/local/sbin/amavisd at…
> > amavis[7131]: Net::Server: Process Backgrounded
> >
> > 7131 ? Ss 0:00 /usr/local/sbin/amavisd (master)
Well, that's obvious now that you point it out!
Noted.
> So you need to use "Type=forking" in the .service unit.
And, yes it works.
Thanks again.
JenL
More information about the systemd-devel
mailing list