Update OpenRC deps after spotter-appmgr and docker are installed

This commit is contained in:
Disassembler 2018-08-23 10:44:45 +02:00
parent be512ee2b3
commit 2e74f8242c
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -41,6 +41,7 @@ sed -i 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' /usr/bin/acme.sh
# Copy Spotter resources # Copy Spotter resources
cp ${SOURCE_DIR}/etc/init.d/spotter-appmgr /etc/init.d/spotter-appmgr cp ${SOURCE_DIR}/etc/init.d/spotter-appmgr /etc/init.d/spotter-appmgr
rc-update -u
cp -r ${SOURCE_DIR}/srv/spotter /srv/spotter cp -r ${SOURCE_DIR}/srv/spotter /srv/spotter
ln -s /srv/spotter/cli.py /usr/bin/spotter-appmgr ln -s /srv/spotter/cli.py /usr/bin/spotter-appmgr
@ -52,6 +53,7 @@ done
# Configure Docker service # Configure Docker service
cp ${SOURCE_DIR}/etc/init.d/docker /etc/init.d/docker cp ${SOURCE_DIR}/etc/init.d/docker /etc/init.d/docker
rc-update -u
rc-update add docker rc-update add docker
service docker start service docker start