Skip to content

Commit 20d3c43

Browse files
authored
Merge pull request #294 from coroot/php_fpm
add php-fpm detection to application type matching
2 parents b5cb0b7 + 91fdf8d commit 20d3c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
)
77

88
var (
9-
phpCmd = regexp.MustCompile(`.*php\d*\.?\d*$`)
9+
phpCmd = regexp.MustCompile(`.*php(-fpm)?\d*\.?\d*$`)
1010
pythonCmd = regexp.MustCompile(`.*python\d*\.?\d*$`)
1111
rubyCmd = regexp.MustCompile(`.*ruby\d*\.?\d*$`)
1212
nodejsCmd = regexp.MustCompile(`.*node(js)?\d*\.?\d*$`)

0 commit comments

Comments
 (0)