From a76884d63acd6f0b0d1087323de18b1c0919f48c Mon Sep 17 00:00:00 2001
From: Kevin Frantz <mail@kevin-frantz.de>
Date: Sat, 8 Sep 2018 14:44:59 +0200
Subject: [PATCH] Added stop and composer-update script

---
 administration/composer-update.sh | 1 +
 administration/init.sh            | 1 +
 administration/stop.sh            | 1 +
 3 files changed, 3 insertions(+)
 create mode 100644 administration/composer-update.sh
 create mode 100644 administration/stop.sh

diff --git a/administration/composer-update.sh b/administration/composer-update.sh
new file mode 100644
index 0000000..6aef776
--- /dev/null
+++ b/administration/composer-update.sh
@@ -0,0 +1 @@
+(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php composer update)
diff --git a/administration/init.sh b/administration/init.sh
index b808ec4..63bfba6 100644
--- a/administration/init.sh
+++ b/administration/init.sh
@@ -2,5 +2,6 @@
   cd $(dirname $(readlink -f ${0}));
   bash ./submodule-init.sh
   bash ./build.sh
+  bash ./composer-update.sh
   bash ./schema-update.sh
 )
diff --git a/administration/stop.sh b/administration/stop.sh
new file mode 100644
index 0000000..fe61022
--- /dev/null
+++ b/administration/stop.sh
@@ -0,0 +1 @@
+(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose stop)