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
|
||||
|
||||
[Service]
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecReload=/usr/bin/podman kill -s HUP --cidfile %t/%N.cid
|
||||
TimeoutStartSec=5min
|
||||
Restart=always
|
||||
MemoryDenyWriteExecute=yes
|
||||
|
|
Loading…
Reference in New Issue