Created
January 27, 2020 18:57
-
-
Save michielgerritsen/cd0e145a3905e9bb3f9f555688477b63 to your computer and use it in GitHub Desktop.
Restart php-fpm on Laravel Forge using Deployer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
desc('Restart php-fpm'); | |
task('php-fpm:restart', function () { | |
run('sudo service php7.3-fpm reload'); | |
}); | |
after('deploy:symlink', 'php-fpm:restart'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment