From 2e74f8242c7dfbda34e58ee7beb931d8ccf6cb40 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 23 Aug 2018 10:44:45 +0200 Subject: [PATCH] Update OpenRC deps after spotter-appmgr and docker are installed --- basic.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basic.sh b/basic.sh index ce5f959..10cdc7a 100755 --- a/basic.sh +++ b/basic.sh @@ -41,6 +41,7 @@ sed -i 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' /usr/bin/acme.sh # Copy Spotter resources cp ${SOURCE_DIR}/etc/init.d/spotter-appmgr /etc/init.d/spotter-appmgr +rc-update -u cp -r ${SOURCE_DIR}/srv/spotter /srv/spotter ln -s /srv/spotter/cli.py /usr/bin/spotter-appmgr @@ -52,6 +53,7 @@ done # Configure Docker service cp ${SOURCE_DIR}/etc/init.d/docker /etc/init.d/docker +rc-update -u rc-update add docker service docker start