We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b813f28 commit 00b6cc0Copy full SHA for 00b6cc0
00-cleanup.conf
@@ -4,3 +4,5 @@ priority=-1
4
stdout_logfile=/dev/stdout
5
stdout_logfile_maxbytes=0
6
redirect_stderr=true
7
+autorestart=false
8
+startsecs=0
container_cleanup.sh
@@ -1,5 +1,9 @@
1
#!/bin/bash
2
3
+if [[ -z $(shopt -s nullglob && echo /etc/osg/image-cleanup.d/*.sh) ]]; then
+ exit 0
+fi
+
# Allow child images to add cleanup customizations
source_cleanup () {
9
for x in /etc/osg/image-cleanup.d/*.sh; do source "$x"; done
0 commit comments