This commit is contained in:
ericgaspar
2021-07-26 10:28:14 +02:00
parent bfb36f313c
commit a93ada3001
7 changed files with 76 additions and 68 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ location ^~ __PATH__/ {
location ~ ^__PATH__/index\.php(/.*|)$ {
fastcgi_split_path_info ^(.+?\.php)(/.*|)$;
set $path_info $fastcgi_path_info;
fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
+2 -2
View File
@@ -1,12 +1,12 @@
[Unit]
Description=Small description of the service
Description=invoiceninja: Create and email invoices
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
WorkingDirectory=__FINALPATH__
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
[Install]