coturn: Add reload target for systemd service

This commit is contained in:
Alex Palaistras 2022-04-09 17:59:57 +01:00
parent 454b393805
commit 19801ee0f6

View File

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