]> source.dussan.org Git - gitea.git/commitdiff
docker: ask s6 to stop all service when gitea stop (#9171)
authorAntoine GIRARD <sapk@users.noreply.github.com>
Wed, 27 Nov 2019 18:08:57 +0000 (19:08 +0100)
committertechknowlogick <techknowlogick@gitea.io>
Wed, 27 Nov 2019 18:08:57 +0000 (13:08 -0500)
* fix: ask s6 to stop all service when gitea stop

https://github.com/just-containers/s6-overlay#writing-an-optional-finish-script

* change service folder

docker/root/etc/s6/gitea/finish

index 06bd986563d4c79bcdeb334e9502a09a452f80e4..5d44f4174f7a005ad9a4ad8f6e0d23b5944815a9 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-exit 0
+s6-svscanctl -t /etc/s6/