diff --git a/doc/install-guide/section_keystone-install.xml b/doc/install-guide/section_keystone-install.xml index ca5d51436a..8090c0b52e 100644 --- a/doc/install-guide/section_keystone-install.xml +++ b/doc/install-guide/section_keystone-install.xml @@ -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>