Tom Horsley writes:
On Sat, 4 May 2019 22:12:11 -0600
Joe Zeff wrote:
> Because systemd has no way of knowing what the service is doing or that
> it's safe to kill it without waiting for it to finish.
But the service knows that. Why isn't there a way to tell
systemd that in the .service file?
Yes, there is, the TimeouStopSec setting in [service], see systemd.service
man page.
But you have to know where it's buried in systemd's documentation. But this
goes towards the mainstream mindset: chuck a start command into the service
file, and forget about it. You're done. Systemd Knows Best.