Merge "Fix check for crontab"
This commit is contained in:
commit
78dba53af0
@ -217,11 +217,11 @@ log_dir = /var/log/keystone</programlisting>
|
||||
<para>Run the following command to purge expired tokens every
|
||||
hour and log the output to
|
||||
<filename>/var/log/keystone/keystone-tokenflush.log</filename>:</para>
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>(crontab -l 2>&1 | grep -q token_flush) || \
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>(crontab -l -u keystone 2>&1 | grep -q token_flush) || \
|
||||
echo '@hourly /usr/bin/keystone-manage token_flush >/var/log/keystone/keystone-tokenflush.log 2>&1' >> /var/spool/cron/crontabs/keystone</userinput></screen>
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>(crontab -l 2>&1 | grep -q token_flush) || \
|
||||
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>(crontab -l -u keystone 2>&1 | grep -q token_flush) || \
|
||||
echo '@hourly /usr/bin/keystone-manage token_flush >/var/log/keystone/keystone-tokenflush.log 2>&1' >> /var/spool/cron/keystone</userinput></screen>
|
||||
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>(crontab -l 2>&1 | grep -q token_flush) || \
|
||||
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>(crontab -l -u keystone 2>&1 | grep -q token_flush) || \
|
||||
echo '@hourly /usr/bin/keystone-manage token_flush >/var/log/keystone/keystone-tokenflush.log 2>&1' >> /var/spool/cron/tabs/keystone</userinput></screen>
|
||||
</step>
|
||||
</substeps>
|
||||
|
Loading…
Reference in New Issue
Block a user