summaryrefslogtreecommitdiffstats
path: root/OS
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
commit151b31b6f47fb3d96afdd66138ff40d92cac6202 (patch)
treec9d3acd3354a0dcb8e65a641a6583669c55acd01 /OS
parent18a451ed0758a4f9736fd4ac68d3c51e4ea8d773 (diff)
downloadphpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.gz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.bz2
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.xz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.zip
mise en place du service apache
Diffstat (limited to 'OS')
-rw-r--r--OS/docker-compose.yml4
-rw-r--r--OS/run.sh3
-rw-r--r--OS/sx-lib.sh6
3 files changed, 10 insertions, 3 deletions
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