mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-13 08:40:29 +00:00
chore: add daemon unit
This commit is contained in:
1 parent
215fe7a592
commit
624b4619f1
4 files changed
+23
-3
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
@@ -6,4 +6,4 @@ OnCalendar=daily
|
||||
RandomizedDelaySec=3600
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user