-
-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
Description
I'm having this problem with php-fpm on macos
Running
php-fpm --force-stderr --nodaemonize
on the command line works just fine and Command+C kills it as you would expect, but putting the command in a task causes it to fail (even if interactive is true)
It looks like this is because php-fpm uses SIGQUIT and that doesn't get propogated correctly.
It might be helpful if Taskfile were to allow users to configure the stop signal kind of like Docker's STOPSIGNAL? That's how they fixed this problem over there.
Version
3.42.1
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
version: "3"
output: prefixed
tasks:
nginx:
internal: true
cmd: nginx -c etc/nginx/nginx.conf -p $PWD
php:
internal: true
cmd: php-fpm --force-stderr --fpm-config ./etc/php/php-fpm.conf
dev:
desc: |
Runs a dev server.
deps:
- nginx
- phpMetadata
Metadata
Assignees
Labels
No labels