supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* s6 problems logging
@ 2019-01-27  3:15 Sean MacLennan
  2019-01-27  5:20 ` Colin Booth
  2019-01-27 14:39 ` smaclennan/doorknob Jonathan de Boyne Pollard
  0 siblings, 2 replies; 12+ messages in thread
From: Sean MacLennan @ 2019-01-27  3:15 UTC (permalink / raw)
  To: supervision

I have a service called doorknob that I want to log the output of. Here
is the run file:

#!/command/execlineb -P
/usr/sbin/doorknob -fs

The -f keeps doorknob in the foreground and the -s sends all messages
to stdout.

The log/run file is:

#!/command/execlineb -P
s6-log -b n20 s1000000 t .

My understanding is that the stdout should go to s6-log and be put in
log/current. But nothing seems to be logged.

Cheers,
   Sean

https://github.com/smaclennan/doorknob


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

end of thread, other threads:[~2019-02-02 18:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-27  3:15 s6 problems logging Sean MacLennan
2019-01-27  5:20 ` Colin Booth
2019-01-27 16:47   ` Sean MacLennan
2019-01-27 17:56     ` Laurent Bercot
2019-01-27 18:13     ` Colin Booth
2019-01-27 18:56     ` Sean MacLennan
2019-01-27 19:27       ` Roger Pate
2019-01-28 11:00         ` Peter Pentchev
2019-02-01  9:22           ` Jonathan de Boyne Pollard
2019-01-27 19:35       ` Guillermo
2019-01-27 14:39 ` smaclennan/doorknob Jonathan de Boyne Pollard
2019-02-02 18:32   ` smaclennan/doorknob Sean MacLennan

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