docker-keepalived/image/service/keepalived/process.sh

8 lines
312 B
Bash
Raw Normal View History

2016-01-17 11:12:04 +00:00
#!/bin/bash -e
# set -x (bash debug) if log level is trace
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/log-helper
log-helper level eq trace && set -x
2016-01-20 08:48:53 +00:00
exec /usr/local/sbin/keepalived -f /etc/keepalived/keepalived.conf --dont-fork --log-console ${KEEPALIVED_COMMAND_LINE_ARGUMENTS}