Update OpenRC deps after spotter-appmgr and docker are installed
This commit is contained in:
parent
be512ee2b3
commit
2e74f8242c
2
basic.sh
2
basic.sh
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user