1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osjs_ynh.git synced 2024-09-03 19:56:11 +02:00

Update install

This commit is contained in:
frju365 2018-05-11 01:33:31 +02:00 committed by GitHub
parent be718b15f3
commit 6c6f70f9c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,17 @@ ynh_replace_string "__NODEJS__" "$nodejs_use_version" "/etc/systemd/system/$app.
ynh_replace_string "__ENV_PATH__" "$PATH" "/etc/systemd/system/$app.service"
ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service"
#=================================================
# Créer le dossier de log
#=================================================
sudo mkdir -p /var/log/$app
sudo touch /var/log/$app/osjs.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
#=================================================
# Install OSjs
#=================================================