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:
parent
c279159501
commit
a464ba1d09
1 changed files with 7 additions and 5 deletions
|
@ -106,12 +106,13 @@ systemctl daemon-reload
|
||||||
# Créer le dossier de log
|
# Créer le dossier de log
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
sudo mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
sudo touch /var/log/$app/cryptpad.log
|
touch /var/log/$app/cryptpad.log
|
||||||
install_log=/var/log/$app/installation.log
|
install_log=/var/log/$app/installation.log
|
||||||
sudo touch $install_log
|
touch $install_log
|
||||||
sudo chown $app -R /var/log/$app
|
chown $app: -R /var/log/$app
|
||||||
sudo chown admin -R $install_log
|
chown admin: -R $install_log
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL CRYPTPAD
|
# INSTALL CRYPTPAD
|
||||||
|
@ -155,6 +156,7 @@ chown -R $app:$app $final_path/datastore $final_path/pins $final_path/blob $fina
|
||||||
# START CRYPTPAD IN BACKGROUND
|
# START CRYPTPAD IN BACKGROUND
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
chown $app:$app /var/log/$app/cryptpad.log
|
||||||
systemctl start $app
|
systemctl start $app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue