Skip to content

ExecReload in unauth-http needs to be run as root #120

Description

@lukasjuhrich

Symptoms

<netns:root> 19:42:57 root@hades-frink /etc/hades (git)-[next] # sc reload --no-block hades-unauth-http && journalctl --since=now -u hades-unauth-http -f
-- Journal begins at Fri 2018-08-03 18:54:48 CEST. --
Oct 17 19:43:01 hades-frink hades-unauth-http[66207]: kill: (64722): Operation not permitted
Oct 17 19:43:01 hades-frink systemd[1]: hades-unauth-http.service: Control process exited, code=exited, status=1/FAILURE
Oct 17 19:43:01 hades-frink systemd[1]: Reload failed for Hades http server (nginx).

Fix

ExecReload=@KILL@ -HUP $MAINPID

ExecStart= needs to be ExecStart=+

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions