mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Fix
This commit is contained in:
parent
4ffa244ef0
commit
d8594d09bc
2 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,7 @@ After=syslog.target network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
Environment="LC_ALL=C.UTF-8"
|
||||
Environment="LANG=C.UTF-8"
|
||||
Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
|
|
@ -140,8 +140,9 @@ ynh_add_config --template="../conf/jupyter_notebook_config.py" --destination="$f
|
|||
|
||||
# Set permissions to app files
|
||||
chmod 750 "$final_path"
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin $final_path/.venv/
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R $admin:$app $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
|
|
Loading…
Add table
Reference in a new issue