mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Revert "User is used instead of www-data"
This reverts commit ea879356a5
.
This commit is contained in:
parent
34540a2dfe
commit
c529612862
4 changed files with 4 additions and 5 deletions
|
@ -6,8 +6,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
User=www-data
|
||||
RemainAfterExit=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
|
|
@ -199,7 +199,7 @@ fi
|
|||
# Configure owner
|
||||
#=================================================
|
||||
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# Start lstu
|
||||
|
|
|
@ -91,7 +91,7 @@ ynh_psql_connect_as $db_name $db_pwd $db_name < ./db.sql
|
|||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
|
@ -153,7 +153,7 @@ ynh_store_file_checksum "${final_path}/lstu.conf"
|
|||
# SECURING FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
Loading…
Add table
Reference in a new issue