Skip to content

Commit

Permalink
guide: Fix polkit rules path
Browse files Browse the repository at this point in the history
  • Loading branch information
fuko-dev authored Dec 8, 2024
1 parent c513a93 commit 952cbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/guide/feature-systemd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $ <command>systemctl status cockpit</command>
</variablelist>

<para>For example, placing the following polkit rule to
<filename>/etc/polkit-1.rules.d/10-http.rule</filename> allows all users in the
<filename>/etc/polkit-1/rules.d/10-http.rule</filename> allows all users in the
<code>operators</code> group start, stop, and restart the Apache HTTP service:</para>

<programlisting>
Expand Down
2 changes: 1 addition & 1 deletion doc/guide/privileges.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<para>Polkit rules files are
<ulink url="https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html">javascript with specific methods and objects</ulink>. For example, placing the following polkit rule to
<filename>/etc/polkit-1.rules.d/10-operators.rule</filename> allows all users in the
<filename>/etc/polkit-1/rules.d/10-operators.rule</filename> allows all users in the
<code>operators</code> group to start, stop, restart and otherwise manage systemd services:</para>

<programlisting>
Expand Down

0 comments on commit 952cbf3

Please sign in to comment.