r/minio: Fix ExecReload command
Sending SIGHUP to the main PID (i.e. conmon) ends up stopping the service. What we really want is to send the signal to main PID _inside_ the container. We can achieve this by using `podman kill` instead of `kill`.frigate-exporter
parent
332ef18600
commit
b5eac25f14
|
@ -15,7 +15,7 @@ Network=host
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/usr/bin/podman kill -s HUP --cidfile %t/%N.cid
|
||||||
TimeoutStartSec=5min
|
TimeoutStartSec=5min
|
||||||
Restart=always
|
Restart=always
|
||||||
MemoryDenyWriteExecute=yes
|
MemoryDenyWriteExecute=yes
|
||||||
|
|
Loading…
Reference in New Issue