* any way for scripts in <service>/control/ to know value of <service>?
@ 2006-12-12 8:06 Adam Megacz
2006-12-12 21:09 ` Alex Efros
0 siblings, 1 reply; 2+ messages in thread
From: Adam Megacz @ 2006-12-12 8:06 UTC (permalink / raw)
Subject pretty much explains it. I have a bunch of services whose
control/t files could all be symlinks to the same script if that
script had a way of determining the name of the service being operated
upon. Same goes for <service>/log/run.
- a
--
PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: any way for scripts in <service>/control/ to know value of <service>?
2006-12-12 8:06 any way for scripts in <service>/control/ to know value of <service>? Adam Megacz
@ 2006-12-12 21:09 ` Alex Efros
0 siblings, 0 replies; 2+ messages in thread
From: Alex Efros @ 2006-12-12 21:09 UTC (permalink / raw)
Hi!
On Tue, Dec 12, 2006 at 12:06:19AM -0800, Adam Megacz wrote:
> Subject pretty much explains it. I have a bunch of services whose
> control/t files could all be symlinks to the same script if that
> script had a way of determining the name of the service being operated
> upon. Same goes for <service>/log/run.
These scripts can just check current dir because this dir will be <service>/ .
--
WBR, Alex.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-12 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 8:06 any way for scripts in <service>/control/ to know value of <service>? Adam Megacz
2006-12-12 21:09 ` Alex Efros
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).