mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
coturn: Add reload
target for systemd service
This commit is contained in:
parent
454b393805
commit
19801ee0f6
@ -20,6 +20,7 @@ ExecStart=/bin/podman run --replace --name %N --sdnotify=conmon \
|
|||||||
localhost/%N:latest
|
localhost/%N:latest
|
||||||
ExecStop=/bin/podman stop --ignore --time 10 %N
|
ExecStop=/bin/podman stop --ignore --time 10 %N
|
||||||
ExecStopPost=/bin/podman rm --ignore --force %N
|
ExecStopPost=/bin/podman rm --ignore --force %N
|
||||||
|
ExecReload=/bin/podman exec %N sh -c 'kill -USR2 $(pidof turnserver)'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user