[systemd-devel] Missing forked processes in 'systemctl status'

Lennart Poettering lennart at poettering.net
Wed Aug 13 09:40:48 PDT 2014


On Wed, 13.08.14 12:30, Leonid Isaev (lisaev at umail.iu.edu) wrote:

> > What's the Type= of the units?
> 
> netclt at .service is Type=oneshot:
> ------
> $ cat /usr/lib/systemd/system/netctl at .service 
> [Unit]
> Description=Networking for netctl profile %I
> Documentation=man:netctl.profile(5)
> Before=network.target netctl.service
> Wants=network.target
> 
> [Service]
> Type=oneshot
> RemainAfterExit=yes
> ExecStart=/usr/lib/network/network start %I
> ExecStop=/usr/lib/network/network stop %I
> KillMode=none

If processes stay around Type=oneshot is wrong really. Type=forking is
more appropriate then.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list