bash

homebrew fpm restart

If you dont have bin in your home make it.
cd
mkdir bin
nano fpm-restart
Paste this.
#!/bin/sh
 
echo "Stopping php-fpm..."
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php5*.plist
 
echo "Starting php-fpm..."
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php5*.plist
 
echo "php-fpm restarted"
exit 0
Then:
chmod ug+x fpm-restart
Tags: 
Subscribe to RSS - bash

 

Bloemfonteinstraat 62, 
    room 1,2,9
5642 EH Eindhoven
phone: +316-81888456