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:
parent
be718b15f3
commit
6c6f70f9c3
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue