Browse Source

new: [docker-host] added ``docker-clean` in cron's daily tasks

framadate
Valentin Lab 6 years ago
parent
commit
90d69a1983
  1. 1
      precise/host/hooks/install.d/70-0k.sh

1
precise/host/hooks/install.d/70-0k.sh

@ -135,6 +135,7 @@ mkdir -p /opt/apps
fi fi
ln -sfn /opt/apps/0k-docker/bin/* /usr/local/sbin/ ln -sfn /opt/apps/0k-docker/bin/* /usr/local/sbin/
ln -sfn /opt/apps/0k-docker/bin/docker-clean /etc/cron.daily/docker-clean
## in update, will remove broken links to binaries that were removed ## in update, will remove broken links to binaries that were removed
find -L /usr/local/sbin -maxdepth 1 -type l -delete find -L /usr/local/sbin -maxdepth 1 -type l -delete
) )

Loading…
Cancel
Save