В Thu, 2 Apr 2015 11:28:46 -0700
Al Lau <laua...@gmail.com> пишет:

> The main process does not show up in the ps and only the forked process
> shows up.
> 
> The systemd-cgls shows
> 
> │   ├─session-14613.scope
> │   │ ├─ 1577 sshd: root@pts/4
> │   │ ├─ 1676 -bash
> │   │ ├─16792 systemctl start smartd
> │   │ └─16793 /usr/bin/systemd-tty-ask-password-agent --watch
> 
> 
> └─system.slice
>   ├─smartd.service
>   │ └─16800 /usr/sbin/smartd --interval=3600 --configfile=/etc/smartd.conf
> 
> I think the PIDFile is optional.  Commenting out the PIDfile line does not
> help.
> 

It does. You need to run systemctl daemon-reload to refresh service
definition.

PID file is optional unless you say in unit definition that it is
mandatory.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to