From 349be12048a1eda64a6a60b15a82573ec31c177f Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 13 Dec 2021 19:41:55 +0200 Subject: [PATCH] etherpad --- install/usr/share/swarmlab.io/sec/sec_bootstrap | 2 ++ install/usr/share/swarmlab.io/sec/swarmlab-sec | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/install/usr/share/swarmlab.io/sec/sec_bootstrap b/install/usr/share/swarmlab.io/sec/sec_bootstrap index 47e7939..8456941 100755 --- a/install/usr/share/swarmlab.io/sec/sec_bootstrap +++ b/install/usr/share/swarmlab.io/sec/sec_bootstrap @@ -48,6 +48,8 @@ case $ROLE in #firefox # /root/start-nginx.sh # Start ssh server + cd /opt/etherpad-lite + node src/node/server.js tail -f /dev/null #/usr/sbin/sshd -D ;; diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 9e7aca4..8ca23c5 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -284,7 +284,8 @@ services: - DISPLAY=\${DISPLAY} cap_add: - NET_ADMIN - user: root + #user: root + user: etherpad entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] ports: - "\${R_PORT1}:9001"