~kennylevinsen/readyfd2sd

READY_FD and s6 readiness to sd_notify adapter

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~kennylevinsen/readyfd2sd
read/write
git@git.sr.ht:~kennylevinsen/readyfd2sd

You can also use your local clone with git send-email.

#readyfd2sd

Convert READY_FD and s6 readiness services to systemd sd_notify.

#How to build and install

meson build
ninja -C build
sudo ninja -C build install

#How to use

See the helptext (readyfd2sd -h) and the manpage (man readyfd2sd).

#Example service file

[Unit]
Description=My READY_FD service

[Service]
Type=notify
ExecStart=readyfd2sd -- my_service -n %%n
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target

#Help

Go to #kennylevinsen @ irc.libera.chat to discuss, or use ~kennylevinsen/public-inbox@lists.sr.ht.