RE: [CentOS] rc script not running on shutdown

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



Mark Belanger wrote:
> Maciej Zenczykowski wrote:
> > And are you creating the /var/lock/subsys/chnghst
> > file when the subsystem starts up?
> 
> Is that required to make scripts run on shutdown?

Yes.  I ran into this problem myself not too long ago.  Your script must
create a lockfile on startup if you want it to run during shutdown.

-- 
Bowie

[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