clear group-cache of nscd as this solves issues with webserver/php-fpm most of the time

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-02-16 08:21:33 +01:00
parent 643f124e8b
commit b85eb98303
5 changed files with 10 additions and 0 deletions

View File

@@ -2953,6 +2953,8 @@ aliases: files
</file>
<command><![CDATA[rc-update add nscd default]]></command>
<command><![CDATA[/etc/init.d/nscd restart]]></command>
<!-- clear group chache -->
<command><![CDATA[nscd --invalidate=group]]></command>
</daemon>
<!-- Logrotate -->
<daemon name="logrotate" title="Logrotate">

View File

@@ -1516,6 +1516,8 @@ aliases: files
</content>
</file>
<command><![CDATA[/etc/init.d/nscd restart]]></command>
<!-- clear group chache -->
<command><![CDATA[nscd --invalidate=group]]></command>
</daemon>
<!-- Logrotate -->
<daemon name="logrotate" title="Logrotate">

View File

@@ -2394,6 +2394,8 @@ aliases: files nisplus
</content>
</file>
<command><![CDATA[systemctl reload-or-restart nscd.service]]></command>
<!-- clear group chache -->
<command><![CDATA[nscd --invalidate=group]]></command>
</daemon>
<!-- Logrotate -->
<daemon name="logrotate" title="Logrotate">

View File

@@ -1494,6 +1494,8 @@ aliases: files
</content>
</file>
<command><![CDATA[service nscd restart]]></command>
<!-- clear group chache -->
<command><![CDATA[nscd --invalidate=group]]></command>
</daemon>
<!-- Logrotate -->
<daemon name="logrotate" title="Logrotate">

View File

@@ -4852,6 +4852,8 @@ aliases: files
</content>
</file>
<command><![CDATA[/etc/init.d/nscd restart]]></command>
<!-- clear group chache -->
<command><![CDATA[nscd --invalidate=group]]></command>
</daemon>
<!-- Logrotate -->
<daemon name="logrotate" title="Logrotate">