fix proxy installation #110

This commit is contained in:
Roni Väyrynen
2022-03-16 19:22:13 +02:00
parent e06b47adac
commit 5006ef0f5e

View File

@@ -926,7 +926,6 @@ function InstallXOProxy {
echo
printprog "Running installation"
runcmd "cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && yarn && yarn build"
runcmd "cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME/@xen-orchestra/proxy && yarn cross-env NODE_ENV=development yarn run _build"
printok "Running installation"
echo
@@ -937,7 +936,7 @@ Description=xo-proxy
After=network-online.target
[Service]
ExecStart=$INSTALLDIR/xo-proxy/dist/index.mjs
ExecStart=$INSTALLDIR/xo-proxy/index.mjs
Restart=always
SyslogIdentifier=xo-proxy