mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 06:41:43 +00:00
chore: add daemon unit
This commit is contained in:
11
package/lib/systemd/system/ahriman-daemon@.service
Normal file
11
package/lib/systemd/system/ahriman-daemon@.service
Normal 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
|
@ -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