supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* signaling log processes
@ 2005-12-17  3:58 Joshua N Pritikin
  2005-12-17 21:06 ` Charlie Brady
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua N Pritikin @ 2005-12-17  3:58 UTC (permalink / raw)


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

Can this be made to work?

  sv a apache2/log

-- 
Make April 15 just another day, visit http://fairtax.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: signaling log processes
  2005-12-17  3:58 signaling log processes Joshua N Pritikin
@ 2005-12-17 21:06 ` Charlie Brady
  2005-12-18  2:56   ` Joshua N Pritikin
  0 siblings, 1 reply; 5+ messages in thread
From: Charlie Brady @ 2005-12-17 21:06 UTC (permalink / raw)
  Cc: supervision


On Sat, 17 Dec 2005, Joshua N Pritikin wrote:

> Can this be made to work?
>
>  sv a apache2/log

Perhaps you could be more explicit about what you want, and what is 
happening now which you wish to change. I don't know what "made to work" 
actually means, because I don't know your definition of "work".


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

* Re: signaling log processes
  2005-12-17 21:06 ` Charlie Brady
@ 2005-12-18  2:56   ` Joshua N Pritikin
  2005-12-18 13:20     ` Gerrit Pape
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua N Pritikin @ 2005-12-18  2:56 UTC (permalink / raw)
  Cc: supervision

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

On Sat, Dec 17, 2005 at 04:06:25PM -0500, Charlie Brady wrote:
> On Sat, 17 Dec 2005, Joshua N Pritikin wrote:
> >Can this be made to work?
> >
> > sv a apache2/log
> 
> Perhaps you could be more explicit about what you want, and what is 
> happening now which you wish to change. I don't know what "made to work" 
> actually means, because I don't know your definition of "work".

Oh!

What I meant is that if I set up a ./log/run for apache2 then I want
"sv a apache2/log" to send a SIGALRM to the process started by 
./log/run.  Or is there already a way to send signals to the log
process?

-- 
Make April 15 just another day, visit http://fairtax.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: signaling log processes
  2005-12-18  2:56   ` Joshua N Pritikin
@ 2005-12-18 13:20     ` Gerrit Pape
  2005-12-18 16:39       ` Joshua N Pritikin
  0 siblings, 1 reply; 5+ messages in thread
From: Gerrit Pape @ 2005-12-18 13:20 UTC (permalink / raw)


On Sun, Dec 18, 2005 at 08:26:33AM +0530, Joshua N Pritikin wrote:
> On Sat, Dec 17, 2005 at 04:06:25PM -0500, Charlie Brady wrote:
> > On Sat, 17 Dec 2005, Joshua N Pritikin wrote:
> > >Can this be made to work?
> > >
> > > sv a apache2/log
> > 
> > Perhaps you could be more explicit about what you want, and what is 
> > happening now which you wish to change. I don't know what "made to work" 
> > actually means, because I don't know your definition of "work".
> 
> Oh!
> 
> What I meant is that if I set up a ./log/run for apache2 then I want
> "sv a apache2/log" to send a SIGALRM to the process started by 
> ./log/run.

Works fine for me it seems.

 # ls -l /var/service/socklog-unix/log/main/main/current
 -rw-r--r-- 1 log adm 319333 Dec 18 13:15 /var/service/socklog-unix/log/main/main/current
 # sv alarm socklog-unix/log
 # ls -l /var/service/socklog-unix/log/main/main/current
 -rw-r--r-- 1 log adm 0 Dec 18 13:16 /var/service/socklog-unix/log/main/main/current
 # 

Regards, Gerrit.


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

* Re: signaling log processes
  2005-12-18 13:20     ` Gerrit Pape
@ 2005-12-18 16:39       ` Joshua N Pritikin
  0 siblings, 0 replies; 5+ messages in thread
From: Joshua N Pritikin @ 2005-12-18 16:39 UTC (permalink / raw)


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

On Sun, Dec 18, 2005 at 02:20:47PM +0100, Gerrit Pape wrote:
> On Sun, Dec 18, 2005 at 08:26:33AM +0530, Joshua N Pritikin wrote:
> > On Sat, Dec 17, 2005 at 04:06:25PM -0500, Charlie Brady wrote:
> > > On Sat, 17 Dec 2005, Joshua N Pritikin wrote:
> > > > sv a apache2/log
> 
> Works fine for me it seems.
> 
>  # ls -l /var/service/socklog-unix/log/main/main/current
>  -rw-r--r-- 1 log adm 319333 Dec 18 13:15 /var/service/socklog-unix/log/main/main/current
>  # sv alarm socklog-unix/log
>  # ls -l /var/service/socklog-unix/log/main/main/current
>  -rw-r--r-- 1 log adm 0 Dec 18 13:16 /var/service/socklog-unix/log/main/main/current
>  # 

Already works?!

It must be some kind of Jedi mindreading trick.

Can you add that to the man page please?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-12-18 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-17  3:58 signaling log processes Joshua N Pritikin
2005-12-17 21:06 ` Charlie Brady
2005-12-18  2:56   ` Joshua N Pritikin
2005-12-18 13:20     ` Gerrit Pape
2005-12-18 16:39       ` Joshua N Pritikin

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).