summaryrefslogtreecommitdiffstats
path: root/docker/s6/.s6-svscan/finish
diff options
context:
space:
mode:
Diffstat (limited to 'docker/s6/.s6-svscan/finish')
-rwxr-xr-xdocker/s6/.s6-svscan/finish5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/s6/.s6-svscan/finish b/docker/s6/.s6-svscan/finish
index 22665fa9bb..3fab7f42e5 100755
--- a/docker/s6/.s6-svscan/finish
+++ b/docker/s6/.s6-svscan/finish
@@ -1,2 +1,5 @@
#!/bin/sh
-exec /bin/true
+
+# Cleanup SOCAT services and s6 event folder
+rm -rf $(find /app/gogs/docker/s6/ -name 'event')
+rm -rf /app/gogs/docker/s6/SOCAT_*