mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-09-21 16:58:12 +00:00
don't swallow failures
This commit is contained in:
committed by
Jeshua Ben Joseph
parent
4fd2dee826
commit
64df8f2d71
@@ -22,10 +22,16 @@ ln -s /etc/container_environment.sh /etc/profile.d/
|
||||
$minimal_apt_get_install runit
|
||||
|
||||
## Install a syslog daemon and logrotate.
|
||||
[ "$DISABLE_SYSLOG" -eq 0 ] && /bd_build/services/syslog-ng/syslog-ng.sh || true
|
||||
if [ "$DISABLE_SYSLOG" -eq 0 ]; then
|
||||
/bd_build/services/syslog-ng/syslog-ng.sh
|
||||
fi
|
||||
|
||||
## Install the SSH server.
|
||||
[ "$DISABLE_SSH" -eq 0 ] && /bd_build/services/sshd/sshd.sh || true
|
||||
if [ "$DISABLE_SSH" -eq 0 ]; then
|
||||
/bd_build/services/sshd/sshd.sh
|
||||
fi
|
||||
|
||||
## Install cron daemon.
|
||||
[ "$DISABLE_CRON" -eq 0 ] && /bd_build/services/cron/cron.sh || true
|
||||
if [ "$DISABLE_CRON" -eq 0 ]; then
|
||||
/bd_build/services/cron/cron.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user