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-07-24 18:49:44 +02:00
parent 07f032315f
commit 5067cf915a
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,7 @@ location __PATH__/ {
}
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php7.0-fpm-__NAME__.sock;
fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;

View file

@ -10,6 +10,8 @@ WorkingDirectory=__FINALPATH__
ExecStart=/usr/bin/php daemon.php start --url=https://__DOMAIN__/__PATH__ --port=__PORT__
StandardOutput=syslog
SyslogIdentifier=__APP__
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="postgresql apt-transport-https composer"
pkg_dependencies="postgresql postgresql-contrib apt-transport-https composer"
extra_php_dependencies="php${YNH_PHP_VERSION}-fpm php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-xml"