Re: [CentOS] Run script at startup

2014-08-20 Thread Valeri Galtsev
On Wed, August 20, 2014 8:30 am, Scott Robbins wrote: > On Wed, Aug 20, 2014 at 04:07:59PM +0300, Alan Holt wrote: >> Hello, >> >> I just install the newest version of Centos 7 and I am a bit >> disappointed >> with new /etc/rc/local file >> I found that it's not usable anymore. > Longer answer: >

Re: [CentOS] Run script at startup

2014-08-20 Thread Scott Robbins
On Wed, Aug 20, 2014 at 04:07:59PM +0300, Alan Holt wrote: > Hello, > > I just install the newest version of Centos 7 and I am a bit disappointed > with new /etc/rc/local file > I found that it's not usable anymore. Short answer: http://forums.fedoraforum.org/showthread.php?t=300234 If you rea

Re: [CentOS] Run script at startup

2014-08-20 Thread Jonathan Billings
On Wed, Aug 20, 2014 at 03:16:58PM +0200, Luigi Rosa wrote: > Alan Holt wrote on 20/08/2014 15:07: > > > I just install the newest version of Centos 7 and I am a bit disappointed > > with new /etc/rc/local file I found that it's not usable anymore. > > You can re-enable it with this command: >

Re: [CentOS] Run script at startup

2014-08-20 Thread Jonathan Billings
On Wed, Aug 20, 2014 at 04:07:59PM +0300, Alan Holt wrote: > I just install the newest version of Centos 7 and I am a bit disappointed > with new /etc/rc/local file > I found that it's not usable anymore. > > *[root@lab3 ~]# cat /etc/rc.local* > " THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES" > I

Re: [CentOS] Run script at startup

2014-08-20 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Holt wrote on 20/08/2014 15:07: > I just install the newest version of Centos 7 and I am a bit disappointed > with new /etc/rc/local file I found that it's not usable anymore. You can re-enable it with this command: systemctl enable rc-local.s

Re: [CentOS] Run script at startup

2014-08-20 Thread Adam King
rc.local is systemV CentOS 7 is systemD Adam King IT Systems Administrator Skipton Girls High School 01756 707600 www.sghs.org.uk - Original Message - From: "Alan Holt" To: centos@centos.org Sent: Wednesday, August 20, 2014 2:07:59 PM Subject: [CentOS] Run script at star

[CentOS] Run script at startup

2014-08-20 Thread Alan Holt
Hello, I just install the newest version of Centos 7 and I am a bit disappointed with new /etc/rc/local file I found that it's not usable anymore. *[root@lab3 ~]# cat /etc/rc.local* " THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES" It is highly advisable to create own systemd services or udev rule