fix broken plugin installation

This commit is contained in:
ronivay
2018-07-22 22:44:09 +03:00
parent a2f4902b5b
commit c2b610d877

View File

@@ -206,6 +206,9 @@ function InstallXO {
cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && yarn >/dev/null && yarn build >/dev/null cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && yarn >/dev/null && yarn build >/dev/null
echo "done" echo "done"
# Install plugins
InstallXOPlugins
echo echo
echo "Fixing binary path in systemd service configuration and symlinking to /etc/systemd/system/xo-server.service" echo "Fixing binary path in systemd service configuration and symlinking to /etc/systemd/system/xo-server.service"
sed -i "s#ExecStart=.*#ExecStart=$INSTALLDIR\/xo-server\/bin\/xo-server#" $INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/xo-server/xo-server.service sed -i "s#ExecStart=.*#ExecStart=$INSTALLDIR\/xo-server\/bin\/xo-server#" $INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/xo-server/xo-server.service