[belenios] Compile belenios in /var/local

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-02-14 14:53:01 +01:00
parent 8e6b97df34
commit d37e476439
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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>