gitlab-ci-policy-rc.d 358 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh

# For most Docker users, "apt-get install" only happens during "docker build",
# where starting services doesn't work and often fails in humorous ways. This
# prevents those failures by stopping the services from attempting to start.

echo "policy-rc.d for " $1

if [ "$1" = "tomcat7" ] || [ "$1" = "tomcat8" ];
then
        exit 101
fi

exit 0;