From 151b31b6f47fb3d96afdd66138ff40d92cac6202 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 14:39:12 +0100 Subject: mise en place du service apache --- OS/docker-compose.yml | 4 ++-- OS/run.sh | 3 ++- OS/sx-lib.sh | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'OS') diff --git a/OS/docker-compose.yml b/OS/docker-compose.yml index c79d5d9..7d2f3f5 100644 --- a/OS/docker-compose.yml +++ b/OS/docker-compose.yml @@ -7,6 +7,6 @@ server: cpu_shares: 2 restart: "on-failure:2" environment: - CONTAINER_SERVICE: "os" - CONTAINER_TYPE: "fedora" + CONTAINER_TYPE: "OS" + CONTAINER_SERVICE: "fedora" CONTAINER_INSTANCE: "sx-fedora" \ No newline at end of file diff --git a/OS/run.sh b/OS/run.sh index ca12432..688f1bc 100644 --- a/OS/run.sh +++ b/OS/run.sh @@ -1,4 +1,5 @@ #!/bin/bash source /bin/sx-lib.sh -display_container_header \ No newline at end of file +display_container_header +display_container_started \ No newline at end of file diff --git a/OS/sx-lib.sh b/OS/sx-lib.sh index 2fcb5aa..22aa84a 100644 --- a/OS/sx-lib.sh +++ b/OS/sx-lib.sh @@ -16,3 +16,9 @@ function display_container_header { fi echo "+=====================================================" } + +function display_container_started { + echo "+=====================================================" + echo "| Container $HOSTNAME is now running..." + echo "+=====================================================" +} \ No newline at end of file -- cgit v1.2.3