Merge pull request #19 from Jarli01/Danp2-plugins
Add symlinks to all plugins
This commit is contained in:
commit
669c684732
|
@ -48,6 +48,11 @@ cd packages/xo-server
|
|||
cp sample.config.yaml .xo-server.yaml
|
||||
sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xen-orchestra/packages/xo-web/dist'|" .xo-server.yaml
|
||||
|
||||
# symlink all plugins
|
||||
for source in =$(ls -d /opt/xen-orchestra/packages/xo-server-*); do
|
||||
ln -s "$source" /usr/local/lib/node_modules/
|
||||
done
|
||||
|
||||
if [[ ! -e $systemd_service_dir/$xo_service ]] ; then
|
||||
|
||||
/bin/cat << EOF >> $systemd_service_dir/$xo_service
|
||||
|
|
Loading…
Reference in New Issue