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:
@@ -2953,6 +2953,8 @@ aliases: files
|
|||||||
</file>
|
</file>
|
||||||
<command><![CDATA[rc-update add nscd default]]></command>
|
<command><![CDATA[rc-update add nscd default]]></command>
|
||||||
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
||||||
|
<!-- clear group chache -->
|
||||||
|
<command><![CDATA[nscd --invalidate=group]]></command>
|
||||||
</daemon>
|
</daemon>
|
||||||
<!-- Logrotate -->
|
<!-- Logrotate -->
|
||||||
<daemon name="logrotate" title="Logrotate">
|
<daemon name="logrotate" title="Logrotate">
|
||||||
|
|||||||
@@ -1516,6 +1516,8 @@ aliases: files
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
||||||
|
<!-- clear group chache -->
|
||||||
|
<command><![CDATA[nscd --invalidate=group]]></command>
|
||||||
</daemon>
|
</daemon>
|
||||||
<!-- Logrotate -->
|
<!-- Logrotate -->
|
||||||
<daemon name="logrotate" title="Logrotate">
|
<daemon name="logrotate" title="Logrotate">
|
||||||
|
|||||||
@@ -2394,6 +2394,8 @@ aliases: files nisplus
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<command><![CDATA[systemctl reload-or-restart nscd.service]]></command>
|
<command><![CDATA[systemctl reload-or-restart nscd.service]]></command>
|
||||||
|
<!-- clear group chache -->
|
||||||
|
<command><![CDATA[nscd --invalidate=group]]></command>
|
||||||
</daemon>
|
</daemon>
|
||||||
<!-- Logrotate -->
|
<!-- Logrotate -->
|
||||||
<daemon name="logrotate" title="Logrotate">
|
<daemon name="logrotate" title="Logrotate">
|
||||||
|
|||||||
@@ -1494,6 +1494,8 @@ aliases: files
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<command><![CDATA[service nscd restart]]></command>
|
<command><![CDATA[service nscd restart]]></command>
|
||||||
|
<!-- clear group chache -->
|
||||||
|
<command><![CDATA[nscd --invalidate=group]]></command>
|
||||||
</daemon>
|
</daemon>
|
||||||
<!-- Logrotate -->
|
<!-- Logrotate -->
|
||||||
<daemon name="logrotate" title="Logrotate">
|
<daemon name="logrotate" title="Logrotate">
|
||||||
|
|||||||
@@ -4852,6 +4852,8 @@ aliases: files
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
<command><![CDATA[/etc/init.d/nscd restart]]></command>
|
||||||
|
<!-- clear group chache -->
|
||||||
|
<command><![CDATA[nscd --invalidate=group]]></command>
|
||||||
</daemon>
|
</daemon>
|
||||||
<!-- Logrotate -->
|
<!-- Logrotate -->
|
||||||
<daemon name="logrotate" title="Logrotate">
|
<daemon name="logrotate" title="Logrotate">
|
||||||
|
|||||||
Reference in New Issue
Block a user