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.


Attachment: pgpuOVUCnyps7.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to