supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* how to prevent a service from starting
@ 2006-07-08 11:58 Frans Haarman
  2006-07-08 12:05 ` George Georgalis
  0 siblings, 1 reply; 2+ messages in thread
From: Frans Haarman @ 2006-07-08 11:58 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

Is it possible to force a service directory not to be started ? I want runsv
running, but the ./run shouldnt
be executed untill I send it a "sv once" signal.....

It would be nice to have a directory where I put 'one-time' scripts for
ifconfig, route, setting resolv.conf, etc.
These 'special' runsvdirs will be send a 'sv once' signal when I need to
activate them!

To accomplish this the runsv must be running for all the services, but it
should be in the DOWN state. Or
perhaps a newly BOOT or INIT state if what I want isnt possible yet ;) That
way you'd know if the services
was ever run since last boot. But I am really hoping its already
possible.....

[-- Attachment #2: Type: text/html, Size: 712 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to prevent a service from starting
  2006-07-08 11:58 how to prevent a service from starting Frans Haarman
@ 2006-07-08 12:05 ` George Georgalis
  0 siblings, 0 replies; 2+ messages in thread
From: George Georgalis @ 2006-07-08 12:05 UTC (permalink / raw)


On Sat, Jul 08, 2006 at 01:58:35PM +0200, Frans Haarman wrote:
>Is it possible to force a service directory not to be started ? I want runsv
>running, but the ./run shouldnt
>be executed untill I send it a "sv once" signal.....

touch ./down

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-08 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-08 11:58 how to prevent a service from starting Frans Haarman
2006-07-08 12:05 ` George Georgalis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).