|
@@ -199,11 +199,6 @@ function install_cryptpad_main {
|
199
|
199
|
|
200
|
200
|
# an unprivileged user to run as
|
201
|
201
|
useradd -d $CRYPTPAD_DIR/ cryptpad
|
202
|
|
- if [[ $ONION_ONLY == "no" ]]; then
|
203
|
|
- chgrp -R ssl-cert /etc/letsencrypt
|
204
|
|
- chmod -R g=rX /etc/letsencrypt
|
205
|
|
- usermod -a -G ssl-cert cryptpad
|
206
|
|
- fi
|
207
|
202
|
|
208
|
203
|
cd $CRYPTPAD_DIR
|
209
|
204
|
git checkout $CRYPTPAD_COMMIT -b $CRYPTPAD_COMMIT
|
|
@@ -282,10 +277,6 @@ function install_cryptpad_main {
|
282
|
277
|
}
|
283
|
278
|
|
284
|
279
|
function install_cryptpad {
|
285
|
|
- if [ ! $ONION_ONLY ]; then
|
286
|
|
- ONION_ONLY='no'
|
287
|
|
- fi
|
288
|
|
-
|
289
|
280
|
function_check install_nodejs
|
290
|
281
|
install_nodejs cryptpad
|
291
|
282
|
|