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 f7ac8bc commit 26a7af0Copy full SHA for 26a7af0
virtualmin-nginx-lib.pl
@@ -1703,7 +1703,7 @@ sub setup_php_fcgi_server
1703
&init::enable_at_boot($name,
1704
"Start Nginx PHP fcgi server for $d->{'dom'}",
1705
&command_as_user($d->{'user'}, 0,
1706
- "$envs $cmd >>$log 2>&1 </dev/null & echo \$! >$pidfile"),
+ "$envs $cmd >>$log 2>&1 </dev/null")." & echo \$! >$pidfile && chmod +r $pidfile",
1707
1708
"kill `cat $pidfile`")." ; sleep 1",
1709
undef,
0 commit comments