Re: systemd startup on centos 7

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



On Fri, Sep 26, 2014 at 10:16:49AM -0400, Jerry Geis wrote:
> Ok I created my script this morning
> 
> [Unit]
> Description=Connections
> After=network.target
> 
> [Service]
> Type=notify
> ExecStart=/home/silentm/bin/mystart
> 
> [Install]
> WantedBy=multi-user.target
> 
> I put it in the correct directory, I rebooted and I see that
> my mystart script runs- programs start up but then
> they are killed with signal 15...
> 
> Is there something else that allows them to continue to run?
> the mystart runs the needed programs then it does exit.
> I presume that mystart exit is killing the children.
> 
> Whats the magic to let the children continue.?

Since you're using Type=notify, does your daemon use sd_notify (or
equivalent) to notify when it has finished starting up?

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://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