Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Fleshgrinder/php-fpm-sysvinit-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

php-fpm SysVinit script

Linux Standard Base (LSB) compliant [SysVinit] (http://freecode.com/projects/sysvinit) script for php-fpm.

I created this init script because the PHP shipped init script is an awful hack.

Install

git clone https://github.com/Fleshgrinder/php-fpm-sysvinit-script.git
cd php-fpm-sysvinit-script
make
#make uninstall

You can also clone the repository and just execute the make command, but please note that this will install the /etc/default/php-fpm file as well (which sets a different location for the configuration file, based on my personal PHP configuration layout).

Usage

You can use it via the service command or by directly invoking the shell script in /etc/init.d; what you like best. Your shell will have auto-completion for the various keywords that are available, for instance if you type service php-fpm res just hit tab for auto-completion.

service php-fpm force-reload
service php-fpm reload
service php-fpm restart
service php-fpm try-restart
service php-fpm start
service php-fpm status
service php-fpm stop

Weblinks

License

This is free and unencumbered software released into the public domain.

For more information, please refer to http://unlicense.org

About

Linux Standard Base compliant SysVinit script for php-fpm.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages