Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FusionIAM
FusionIAM
Commits
723594e0
Commit
723594e0
authored
Sep 23, 2021
by
David Coutadeur
Browse files
get Fusion Directory logs on stdout (via rsyslog)
parent
9205cd20
Changes
2
Show whitespace changes
Inline
Side-by-side
build/centos8/fusiondirectory/ansible/install.yaml
View file @
723594e0
...
...
@@ -74,8 +74,15 @@
-
perl-Archive-Extract
-
perl-File-Copy-Recursive
-
perl-XML-Twig
-
rsyslog
state
:
present
-
name
:
config rsyslog
shell
:
|
echo 'user.* -/var/log/user.log' > /etc/rsyslog.d/fd.conf
sed -i -e 's/^\(.*SysSock.Use\)/#\1/' /etc/rsyslog.conf
sed -i -e 's/"imuxsock"/"imuxsock")/' /etc/rsyslog.conf
-
name
:
Allow all locales
shell
:
sed -i -e /override_install_langs/d /etc/yum.conf
...
...
build/centos8/fusiondirectory/ansible/run-ct.sh
View file @
723594e0
...
...
@@ -15,8 +15,10 @@ then
/usr/sbin/nginx
-g
'daemon off;'
elif
[
"
$1
"
=
"php-fpm"
]
then
/usr/sbin/rsyslogd
-iNONE
ln
-sf
/dev/stdout /var/log/php-fpm/error.log
ln
-sf
/dev/stdout /var/log/php-fpm/www-error.log
ln
-sf
/proc/
$$
/fd/1 /var/log/user.log
/usr/sbin/php-fpm
--nodaemonize
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment