clearlinux / clr-man-pages Goto Github PK
View Code? Open in Web Editor NEWMan pages that cover topics specific to Clear Linux OS
License: Other
Man pages that cover topics specific to Clear Linux OS
License: Other
I'm not quite following the logic with the paths given in the explanation in this man page under php-fpm
cp /usr/share/defaults/php/php-fpm.conf /etc/php-fpm.conf
Why dump php-fpm.conf directly in /etc/
?
To maintain consistency, why is it not suggested just copy the default directory and contents
/usr/share/defaults/php/
to
/etc/
With:
cp -R /usr/share/defaults/php /etc/
then run:
systemctl edit --full php-fpm.service
Then, the user should remove the line:
ExecStart=/usr/sbin/php-fpm --nodaemonize
Then add these lines under [service]:
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/pear.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php-fpm.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php-fpm.d/www.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php.ini
Then modify /etc/php/php-fpm.conf and under Pool Definitions section at bottom add:
include=/etc/php/php-fpm.d/*.conf
Wouldn't this achieve user configuration of ALL the php-fpm
conf files and maintain exactly the same dir and file structure of the system defaults?
Also, this is quite a bit of a hassle, couldn't developers write additional scripts, include them in the php-basics bundle, so when user run swupd bundle-add php-basic these scripts perform all the tasks to configure and place the default php-fpm configuration files in /etc
.
Probably the nginx-mainline should also have install script so run and add the conf files to /etc
.
The idea of stateless I assume relates to system and swupdate, once a user decides to install a bundle the install should preconfigure in the expectation the user will actually need to custom configure and so this case, what we do with configs should't be going against stateless.
I suppose these script are only needed for php-fpm because it is not bendable to CL
s stateless and requires forced intervention, and nginx-mainlne, well that's a given to be custom configured.
I mention some of these concerns and observations here:
change "it's" to "its" in "restore the system to it's factory default" in stateless.7.rst
I'm not quite following the logic with the paths given in the explanation in this man page under php-fpm
cp /usr/share/defaults/php/php-fpm.conf /etc/php-fpm.conf
Why dump php-fpm.conf
directly in /etc/
?
To maintain consistency, why is it not suggested just copy the default directory and contents
/usr/share/defaults/php/
to
/etc/
With:
cp -R /usr/share/defaults/php /etc/
then run:
systemctl edit --full php-fpm.service
Then, the user should remove the line:
ExecStart=/usr/sbin/php-fpm --nodaemonize
Then add these lines under [service]:
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/pear.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php-fpm.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php-fpm.d/www.conf
ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php/php.ini
Then modify /etc/php/php-fpm.conf
and under Pool Definitions
section at bottom add:
include=/etc/php/php-fpm.d/*.conf
Wouldn't this achieve user configuration of ALL
the php-fpm
conf files and maintain exactly the same dir and file structure of the system defaults?
Also, this is quite a bit of a hassle, couldn't developers write additional scripts, include them in the php-basics
bundle, so when user run swupd bundle-add php-basic
.
Probably the nginx-mainline
should also have install script so run and add the conf files to /etc
.
The idea of stateless
I assume relates to system and swupdate, once a user decides to install a bundle the install should preconfigure in the expectation the user will actually need to custom configure and so this case, what we do with configs should't be going against stateless.
I suppose these script are only needed for php-fpm
because it is not bendable to CL
s stateless and requires forced intervention, and nginx-mainlne
, well that's a given to be custom configured.
I mention some of these concerns and observations here:
Line 80 of stateless.7.rst should probably not contain the word 'and'.
This may also provide the user with a way to repair and a defective system configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.