Re: Help with systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sep 23, 2015, at 6:25 PM, Clint Dilks <clintd@xxxxxxxxxxxxx> 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@xxxxxxxxxx>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux