On Mon, 01 Mar 2021 at 10:20:31 -0500, John Ioannidis wrote:
> I occasionally need to send a SIGINT to the process
Have you tried this?
systemctl kill --signal=SIGINT foo.service
(Perhaps with --kill-who=main if you just want to kill its top-level
process and not its child processes, if
On Mo, 01.03.21 10:20, John Ioannidis (systemd-de...@tla.org) wrote:
> How can I trace what sd_notify(3) calls a program makes?
strace. sd_notify() is just a wrapper around the sendmsg() syscall,
and you'll see that in strace.
> Obviously, I don't have the source, and running *strings* on it
How can I trace what sd_notify(3) calls a program makes?
Obviously, I don't have the source, and running *strings* on it does reveal
a *READY=1* line, but it is unclear whether the code makes it to the point
where that gets sent.
Here is what I am *really* trying to accomplish; maybe I am going