Skip to content
Snippets Groups Projects
Verified Commit d37e4764 authored by ynerant's avatar ynerant
Browse files

[belenios] Compile belenios in /var/local


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 8e6b97df
No related branches found
No related tags found
1 merge request!328Update Belenios
......@@ -46,10 +46,10 @@
line: "LAUNCH_AT_STARTUP=true"
notify: Restart ocsigenserver
- name: Clone belenios into /opt/belenios
- name: Clone belenios into /var/local/belenios
git:
repo: https://gitlab.inria.fr/belenios/belenios.git
dest: /opt/belenios
dest: /var/local/belenios
version: "1.14"
force: true
register: git_result
......@@ -57,7 +57,7 @@
- name: Make belenios project
when: git_result.changed
make:
chdir: /opt/belenios
chdir: /var/local/belenios
target: build-release-server
notify: Restart ocsigenserver
......@@ -85,23 +85,23 @@
mode: 0755
state: link
loop:
- src: "/opt/belenios/_run/usr/bin/belenios-tool"
- src: "/var/local/belenios/_run/usr/bin/belenios-tool"
path: "/usr/bin/belenios-tool"
- src: "/opt/belenios/_run/usr/lib/belenios"
- src: "/var/local/belenios/_run/usr/lib/belenios"
path: "/usr/lib/ocaml/belenios"
- src: "/opt/belenios/_run/usr/lib/belenios-platform"
- src: "/var/local/belenios/_run/usr/lib/belenios-platform"
path: "/usr/lib/ocaml/belenios-platform"
- src: "/opt/belenios/_run/usr/lib/belenios-platform-js"
- src: "/var/local/belenios/_run/usr/lib/belenios-platform-js"
path: "/usr/lib/ocaml/belenios-platform-js"
- src: "/opt/belenios/_run/usr/lib/belenios-platform-native"
- src: "/var/local/belenios/_run/usr/lib/belenios-platform-native"
path: "/usr/lib/ocaml/belenios-platform-native"
- src: "/opt/belenios/_run/usr/lib/belenios-server"
- src: "/var/local/belenios/_run/usr/lib/belenios-server"
path: "/usr/lib/ocaml/belenios-server"
- src: "/opt/belenios/_run/usr/lib/belenios-tool"
- src: "/var/local/belenios/_run/usr/lib/belenios-tool"
path: "/usr/lib/ocaml/belenios-tool"
- src: "/opt/belenios/_run/usr/share/belenios-server"
- src: "/var/local/belenios/_run/usr/share/belenios-server"
path: "/usr/share/belenios-server"
- name: Deploy ocsigenserver configuration
......
......@@ -70,7 +70,7 @@
<log file="/var/log/belenios/security.log"/>
<locales dir="/usr/share/belenios-server/locales"/>
<spool dir="/var/lib/belenios/spool"/>
<!-- <warning file="/opt/belenios/belenios/_run/warning.html"/> -->
<!-- <warning file="/var/local/belenios/belenios/_run/warning.html"/> -->
</eliom>
</host>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment