Skip to content

Commit

Permalink
Fix install on docker where systemctl commands may fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sjones4 committed Oct 11, 2019
1 parent 3b8d68f commit 59c94fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/appscale_install_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ installservice()
echo "Linking appscale common systemd drop-in"
for APPSCALE_SYSTEMD_SERVICE in ${DESTDIR}/lib/systemd/system/appscale-*.service; do
[ -d "${APPSCALE_SYSTEMD_SERVICE}.d" ] || mkdir "${APPSCALE_SYSTEMD_SERVICE}.d"
ln -t "${APPSCALE_SYSTEMD_SERVICE}.d" ${DESTDIR}/lib/systemd/system/appscale-.d/10-appscale-common.conf
ln -ft "${APPSCALE_SYSTEMD_SERVICE}.d" ${DESTDIR}/lib/systemd/system/appscale-.d/10-appscale-common.conf
done
fi

systemctl daemon-reload
systemctl daemon-reload || true

# Enable AppController on system reboots.
systemctl enable appscale-controller || true
Expand Down

0 comments on commit 59c94fa

Please sign in to comment.