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"