Re: [CentOS] How rc-local.service works?

2017-03-12 Thread Yuri Kanivetsky
> It will be run according to the status of the rc-local service - i.e. what does > systemctl status rc-local > say. It's enabled by default, but it only runs if rc.local is executable (as defined in the [Unit] section). When booted with /etc/rc.d/rc.local being not executable, it says: ●

Re: [CentOS] How rc-local.service works?

2017-03-12 Thread Pete Biggs
> 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

[CentOS] How rc-local.service works?

2017-03-12 Thread Yuri Kanivetsky
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: