[CentOS] How rc-local.service works?
Yuri Kanivetsky
yuri.kanivetsky at gmail.comSun Mar 12 11:15:08 UTC 2017
- Previous message: [CentOS] kernel memory accounting
- Next message: [CentOS] How rc-local.service works?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Let me cite the service file here: [Unit] Description=/etc/rc.d/rc.local Compatibility ConditionFileIsExecutable=/etc/rc.d/rc.local After=network.target [Service] Type=forking ExecStart=/etc/rc.d/rc.local start TimeoutSec=0 RemainAfterExit=yes I basically don't understand two things here: 1. What makes it run? Sure, when I make /etc/rc.d/rc.local executable, it runs. But for all I know, for it to run some other service must pull in it as a dependency. Am I wrong? 2. Why Type=forking? Thanks in advance. Regards, Yuri
- Previous message: [CentOS] kernel memory accounting
- Next message: [CentOS] How rc-local.service works?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list