Skip to content

Commit

Permalink
Document systemd override for custodia.ipa
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Heimes <[email protected]>
  • Loading branch information
tiran committed Aug 11, 2017
1 parent a1aeade commit a76747b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,21 @@ Create ``/etc/custodia/ipa.conf``
handler = Secrets
store = cert

Create ``/etc/systemd/system/[email protected]/override.conf``

On Fedora 26 and newer, the Custodia service file defaults to Python 3.
Although FreeIPA 4.5 has support for Python 3, it's not stable yet.
Therefore it is necessary to run the ``custodia.ipa`` plugins with
Python 2.7. You can either use ``systemctl edit [email protected]``
to create an override or copy the file manually. Don't forget to run
``systemctl daemon-reload`` in the latter case.

::

[Service]
ExecStart=
ExecStart=/usr/sbin/custodia-2 --instance=%i /etc/custodia/%i.conf

Run Custodia server

::
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,21 @@ handler = Secrets
store = cert
```

Create ``/etc/systemd/system/[email protected]/override.conf``

On Fedora 26 and newer, the Custodia service file defaults to Python 3.
Although FreeIPA 4.5 has support for Python 3, it's not stable yet. Therefore
it is necessary to run the ``custodia.ipa`` plugins with Python 2.7. You
can either use ``systemctl edit [email protected]`` to create an override
or copy the file manually. Don't forget to run ``systemctl daemon-reload`` in
the latter case.

```
[Service]
ExecStart=
ExecStart=/usr/sbin/custodia-2 --instance=%i /etc/custodia/%i.conf
```

Run Custodia server

```
Expand Down

0 comments on commit a76747b

Please sign in to comment.