support of new schema in systemd units

This commit is contained in:
2023-09-01 03:07:06 +03:00
parent 7a24307224
commit 0eebcc5740
14 changed files with 101 additions and 60 deletions

View File

@ -92,6 +92,14 @@ ahriman.core.database.migrations.m010\_version\_based\_logs\_removal module
:no-undoc-members:
:show-inheritance:
ahriman.core.database.migrations.m011\_repository\_name module
--------------------------------------------------------------
.. automodule:: ahriman.core.database.migrations.m011_repository_name
:members:
:no-undoc-members:
:show-inheritance:
Module contents
---------------

View File

@ -164,6 +164,14 @@ ahriman.models.report\_settings module
:no-undoc-members:
:show-inheritance:
ahriman.models.repository\_id module
------------------------------------
.. automodule:: ahriman.models.repository_id
:members:
:no-undoc-members:
:show-inheritance:
ahriman.models.repository\_paths module
---------------------------------------

View File

@ -18,7 +18,7 @@ TL;DR
yay -S ahriman
ahriman -a x86_64 -r aur-clone service-setup --packager "ahriman bot <ahriman@example.com>"
systemctl enable --now ahriman@x86_64.timer
systemctl enable --now ahriman@x86_64-aur-clone.timer
Long answer
"""""""""""
@ -1046,7 +1046,7 @@ How to setup web service
port = 8080
#.
Start the web service ``systemctl enable --now ahriman-web@x86_64``.
Start the web service ``systemctl enable --now ahriman-web@x86_64-aur-clone``.
How to enable basic authorization
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -1103,7 +1103,7 @@ How to enable basic authorization
sudo -u ahriman ahriman user-add -r full my-first-user
#.
Restart web service ``systemctl restart ahriman-web@x86_64``.
Restart web service ``systemctl restart ahriman-web@x86_64-aur-clone``.
How to enable OAuth authorization
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -1149,7 +1149,7 @@ How to enable OAuth authorization
When it will ask for the password leave it blank.
#.
Restart web service ``systemctl restart ahriman-web@x86_64``.
Restart web service ``systemctl restart ahriman-web@x86_64-aur-clone``.
How to implement own interface
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -74,14 +74,14 @@ Initial setup
.. code-block:: shell
systemctl enable --now ahriman@x86_64.timer
systemctl enable --now ahriman@x86_64-aur-clone.timer
#.
Start and enable status page:
.. code-block:: shell
systemctl enable --now ahriman-web@x86_64
systemctl enable --now ahriman-web@x86_64-aur-clone
#.
Add packages by using ``ahriman package-add {package}`` command: