1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update install

This commit is contained in:
frju365 2019-01-05 20:47:15 +01:00 committed by GitHub
parent c279159501
commit a464ba1d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,12 +106,13 @@ systemctl daemon-reload
# Créer le dossier de log
#=================================================
sudo mkdir -p /var/log/$app
sudo touch /var/log/$app/cryptpad.log
mkdir -p /var/log/$app
touch /var/log/$app/cryptpad.log
install_log=/var/log/$app/installation.log
sudo touch $install_log
sudo chown $app -R /var/log/$app
sudo chown admin -R $install_log
touch $install_log
chown $app: -R /var/log/$app
chown admin: -R $install_log
#=================================================
# INSTALL CRYPTPAD
@ -155,6 +156,7 @@ chown -R $app:$app $final_path/datastore $final_path/pins $final_path/blob $fina
# START CRYPTPAD IN BACKGROUND
#=================================================
chown $app:$app /var/log/$app/cryptpad.log
systemctl start $app
#=================================================