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
Dustin 2024-06-23 10:36:12 -05:00
parent 332ef18600
commit b5eac25f14
1 changed files with 1 additions and 1 deletions

View File

@ -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