1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2020-09-17 10:57:58 +02:00
parent 0140f92e04
commit 05e2a4fce9
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 10 additions and 2 deletions

View file

@ -5,7 +5,7 @@ After=nginx.service network.target local-fs.target postgresql.service
[Service]
Type=simple
User=www-data
ExecStart=/usr/bin/php daemon.php start --url=https://__DOMAIN____PATH__ --port=__PORT__
ExecStart=/usr/bin/php daemon.php start --interface=127.0.0.1 --url=https://__DOMAIN____PATH__ --port=__PORT__
WorkingDirectory=__FINALPATH__
StandardOutput=syslog
SyslogIdentifier=__APP__

View file

@ -63,10 +63,18 @@ ynh_script_progression --message="Removing app main directory..." --weight=6
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE APP CACHE DIR
#=================================================
ynh_script_progression --message="Removing app cache directory..." --weight=6
# Remove the app directory securely
ynh_secure_remove --file="/home/$app"
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Removing PHP-fpm configuration..." --weight=2
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=2
# Remove the dedicated php-fpm config
ynh_remove_fpm_config