Re: initscript "feature" questions

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

 



On Fri, 2007-10-26 at 14:34 -0400, Bill Nottingham wrote:
> Jon Masters (jcm@xxxxxxxxxx) said: 
> > > We only shut things down that have been started successfully (have a lock file.)
> > 
> > Right. But what if I want to run something on shutdown that's unrelated
> > to a daemon? And I want to do this from a package, so without manually
> > modifying the local rc config?
> 
> Create a SXX service that runs in runlevel 0/6, or add a /sbin/halt.local.

Right. I considered that, but this is not "starting" something, it's
shutting something down. In the end, I wound up having a useless start
action that touches a lockfile on startup, just so I can have a "stop"
action to take it down again :-)

Nothing personal, I know you own that package, but I think the logic
there is not ideal ;-)

Jon.


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux