Skip to content

Commit

Permalink
馃敟 Remove specific PHP version preparation step in service file
Browse files Browse the repository at this point in the history
The commit removes the previous `ExecStartPre` command that creates a dedicated directory for PHP8 in the service configuration. This change shows an effort to generalize the PHP configuration process, reducing the dependence on specific PHP versions. It will help minimize potential issues related to PHP version differentiation and simplify the PHP build process.
  • Loading branch information
neoground committed Jan 5, 2024
1 parent 51a467d commit f332ebc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion php-fpm.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ After=nginx.service

[Service]
PIDFile=%t/php-fpm.pid
ExecStartPre=/bin/mkdir --parents %t/php8
ExecStart=/usr/local/sbin/php-fpm --fpm-config #CONFPATH/php-fpm.conf --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
Type=simple
Expand Down

0 comments on commit f332ebc

Please sign in to comment.