Re: Run script at startup

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



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 read through the thread, you'll see that you probably need to put
the rc.local file under the /etc/rc.d directory.

Longer answer:
As the file says, if you plan to stick with Linux, eventually, you'll have to
work with systemd.  This list has already discussed it to death, but, much
as many hate it, it's not going to go anywhere for awhile.


> 
> *[root@lab3 ~]# cat /etc/rc.local*
> " THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES"
> It is highly advisable to create own systemd services or udev rules
> to run scripts during boot instead of using this file.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

_______________________________________________
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