snsinfu / ftrap

Simple linux utility that wraps command and signals file changes.
Boost Software License 1.0
0 stars 0 forks source link

FreeBSD support #1

Open snsinfu opened 5 years ago

snsinfu commented 5 years ago

I created this utility for easily restarting Kubernetes service on ConfigMap/Secrets change (by just wrapping container entrypoint with ftrap). It's kinda quick k8s hack (see this SO btw). So the initial release is linux-only. But as a FreeBSD user myself, I expect a FreeBSD port.

snsinfu commented 5 years ago

Watching directory looks hard: https://forums.freebsd.org/threads/inotify-for-freebsd.38162/ For files kqueue/kevent would be just usable.