[systemd-devel] systemd and smartd daemon

Andrei Borzenkov arvidjaar at gmail.com
Thu Apr 2 12:20:08 PDT 2015


В Thu, 2 Apr 2015 11:28:46 -0700
Al Lau <lauatic at 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 at 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.


More information about the systemd-devel mailing list