We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa083c commit 889c35aCopy full SHA for 889c35a
recipe/common.php
@@ -276,7 +276,7 @@
276
if (!empty($dirs)) {
277
try {
278
if (null === $httpUser) {
279
- $httpUser = run("ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1")->toString();
+ $httpUser = run("ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1")->toString();
280
}
281
282
cd('{{release_path}}');
0 commit comments