Re: how to add service at boot up

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



On Tue, 2015-03-24 at 08:36 +0100, robert wrote:
> Hi there,
> I am used to traditional update-rc.d et all.
> 
> Now I wonder how to add a a script that used to called by init.d (wit 
> start/sop ..) to the new "service start xx" regime.
> 
> All the tutorials I found talk about how to use update-rc.d..
> 
> thanks
> robert
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

For CentOS 6
chkconfig <service_name> on

For CentOS 7
systemctl enable <service_name>

_______________________________________________
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