supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* s6 inotify
@ 2019-12-18 16:47 Raghu
  2019-12-18 20:40 ` Laurent Bercot
  0 siblings, 1 reply; 2+ messages in thread
From: Raghu @ 2019-12-18 16:47 UTC (permalink / raw)
  To: supervision

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

Hi,
I'm looking for filesystem events similar to systemd.path in s6. My run
script has to execute a binary when file "/tmp/testlog" is present. Can you
please let me know which s6 program will help me achieve this.
Thanks for your time.

-- 
Thanks
Raghu
SAVE TREES..GO GREEN

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

* Re: s6 inotify
  2019-12-18 16:47 s6 inotify Raghu
@ 2019-12-18 20:40 ` Laurent Bercot
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Bercot @ 2019-12-18 20:40 UTC (permalink / raw)
  To: supervision


>I'm looking for filesystem events similar to systemd.path in s6. My run
>script has to execute a binary when file "/tmp/testlog" is present. Can you
>please let me know which s6 program will help me achieve this.

  Hi Raghu,
  inotify(7) is a Linux extension, so it's not implemented in s6, which
aims to be portable.

  You can find inotify-related utilities in inotify-tools, for instance
(https://github.com/inotify-tools), or inotifyd in busybox
(https://busybox.net/).

--
  Laurent



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

end of thread, other threads:[~2019-12-18 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 16:47 s6 inotify Raghu
2019-12-18 20:40 ` Laurent Bercot

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