Skip to content

How to use with systemd ExecReload and ExecStop? #138

@pukku

Description

@pukku

Hi! I'm trying to start up a service on CentOS 8, which means that I need to use a SystemD .service file. According to the documentation, if you try use something like kill -HUP $MAINPID to restart a service (or -QUIT to end it), it will not work properly because SystemD wants something synchronous, which kill is not.

Is there any proper solution to this? I can, of course, just leave these out, and SystemD will kill all the processes (possibly with prejudice) for me, but if there is a way to make this work nicely, I would be happier.

Thanks,
Ricky

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions