qusal/salt/sys-cacher/files/client/systemd/qubes-apt-cacher-ng-repo.service
Ben Grande a6194e0364
fix: remove cacher tag from Kicksecure template
Running apt-cacher-ng-repo is during update is unnecessary, the
install-repo macro already does it and the systemd service is run on
boot before Qrexec Agent starts.

Fixes: https://github.com/ben-grande/qusal/issues/66
2024-06-22 12:14:36 +02:00

20 lines
550 B
Desktop File

# SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
[Unit]
Description=Dynamically write repository definitions for use of apt-cacher-ng
After=qubes-misc-post.service
After=qubes-sysinit.service
## Run before Qrexec call (Salt, user on terminal, automatic update check)
## tries to update the package index.
Before=qubes-qrexec-agent.service
Before=qubes-update-check.service
[Service]
Type=oneshot
ExecStart=/usr/bin/apt-cacher-ng-repo
[Install]
WantedBy=multi-user.target