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:
@@ -403,7 +403,8 @@ return array(
|
|||||||
'chmod 600 /usr/local/etc/libnss-mysql.cfg /usr/local/etc/libnss-mysql-root.cfg'
|
'chmod 600 /usr/local/etc/libnss-mysql.cfg /usr/local/etc/libnss-mysql-root.cfg'
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'sh /etc/rc.d/nscd restart'
|
'sh /etc/rc.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -410,7 +410,8 @@ milter_default_action = accept" >> /etc/postfix/main.cf',
|
|||||||
'rc-update add nscd default'
|
'rc-update add nscd default'
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'/etc/init.d/nscd restart'
|
'/etc/init.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -393,7 +393,8 @@ return array(
|
|||||||
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'/etc/init.d/nscd restart'
|
'/etc/init.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -395,7 +395,8 @@ return array(
|
|||||||
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'/etc/init.d/nscd restart'
|
'/etc/init.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -392,7 +392,8 @@ return array(
|
|||||||
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'/etc/init.d/nscd restart'
|
'/etc/init.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -390,7 +390,8 @@ return array(
|
|||||||
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'service nscd restart'
|
'service nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
@@ -397,7 +397,8 @@ return array(
|
|||||||
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
'etc_nsswitch.conf' => '/etc/nsswitch.conf',
|
||||||
),
|
),
|
||||||
'restart' => array(
|
'restart' => array(
|
||||||
'/etc/init.d/nscd restart'
|
'/etc/init.d/nscd restart',
|
||||||
|
'nscd --invalidate=group'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'logrotate' => array(
|
'logrotate' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user