1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Merge pull request #35 from YunoHost-Apps/testing

Fix a regression
This commit is contained in:
Kayou 2019-03-15 00:21:34 +01:00 committed by GitHub
commit 2d33783907
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -6,8 +6,7 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
User=__APP__ User=www-data
Group=__APP__
RemainAfterExit=yes RemainAfterExit=yes
Restart=always Restart=always
RestartSec=10 RestartSec=10

View file

@ -199,7 +199,7 @@ fi
# Configure owner # Configure owner
#================================================= #=================================================
chown -R $app:$app "$final_path" chown -R www-data $final_path
#================================================= #=================================================
# Start lstu # Start lstu

View file

@ -91,7 +91,7 @@ ynh_psql_connect_as $db_name $db_pwd $db_name < ./db.sql
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R $app:$app "$final_path" chown -R www-data $final_path
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION

View file

@ -153,7 +153,7 @@ ynh_store_file_checksum "${final_path}/lstu.conf"
# SECURING FILES AND DIRECTORIES # SECURING FILES AND DIRECTORIES
#================================================= #=================================================
chown -R $app:$app "$final_path" chown -R www-data $final_path
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
@ -189,7 +189,7 @@ yunohost service add $app --log "/var/log/$app.log"
# RESTART LSTU # RESTART LSTU
#================================================= #=================================================
ynh_systemd_action -n $app -a reload-or-restart -l "Reloaded Shortened URLs service." -p "systemd" ynh_systemd_action -n $app -a reload -l "Reloaded Shortened URLs service." -p "systemd"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT