chore: add daemon unit

This commit is contained in:
2023-12-28 15:24:14 +02:00
parent e40b773029
commit 29c8c4bfd7
4 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=ArcH linux ReposItory MANager (%i)
[Service]
Type=simple
ExecStart=/usr/bin/ahriman --repository-id "%I" repo-daemon --no-changes --refresh
User=ahriman
Group=ahriman
[Install]
WantedBy=multi-user.target

View File

@ -4,4 +4,4 @@ Description=ArcH linux ReposItory MANager (%i)
[Service]
ExecStart=/usr/bin/ahriman --repository-id "%I" repo-update --no-changes --refresh
User=ahriman
Group=ahriman
Group=ahriman

View File

@ -6,4 +6,4 @@ OnCalendar=daily
RandomizedDelaySec=3600
[Install]
WantedBy=timers.target
WantedBy=timers.target