[CentOS] Help with systemd

Thu Sep 24 00:09:09 UTC 2015
Jonathan Billings <billings at negate.org>

On Sep 23, 2015, at 6:25 PM, Clint Dilks <clintd at waikato.ac.nz> wrote:
> Takes a boolean value that specifies whether systemd should try to guess
> the main PID of a service if it cannot be determined reliably. This option
> is ignored unless Type=forking is set and PIDFile= is unset because for the
> other types or with an explicitly configured PID file, the main PID is
> always known. The guessing algorithm might come to incorrect conclusions if
> a daemon consists of more than one process. If the main PID cannot be
> determined, failure detection and automatic restarting of a service will
> not work reliably. Defaults to yes”

How about Type=oneshot and RemainAfterExit=yes?


--
Jonathan Billings <billings at negate.org>