aur repo host complete
This commit is contained in:
12
ansible/roles/aur_repo_host/files/aur-sync.service
Normal file
12
ansible/roles/aur_repo_host/files/aur-sync.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Sync AUR packages
|
||||
Wants=aur-sync.timer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/aur sync --no-view --upgrades --no-confirm --clean --rm-deps --sign --database home
|
||||
User=aur-builder
|
||||
Group=aur-builder
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
12
ansible/roles/aur_repo_host/files/aur-sync.timer
Normal file
12
ansible/roles/aur_repo_host/files/aur-sync.timer
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Timer that runs aur sync service
|
||||
Requires=aur-sync.service
|
||||
|
||||
[Timer]
|
||||
Unit=aur-sync.service
|
||||
OnCalendar=*-*-* 16:00:00
|
||||
RandomizedDelaySec=120
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user