2024-05-29 07:56:46 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
2024-06-06 14:38:27 -04:00
|
|
|
# vim: ft=systemd
|
|
|
|
[Unit]
|
|
|
|
ConditionPathExists=/var/run/qubes-service/apt-cacher-ng
|
|
|
|
After=qubes-sysinit.service
|
|
|
|
Before=qubes-qrexec-agent.service
|
2024-05-29 07:56:46 -04:00
|
|
|
|
|
|
|
[Service]
|
2024-06-06 14:38:27 -04:00
|
|
|
ExecStartPre=chown -R apt-cacher-ng:apt-cacher-ng /var/log/apt-cacher-ng /var/cache/apt-cacher-ng
|
2024-05-29 07:56:46 -04:00
|
|
|
ExecStart=
|
|
|
|
ExecStart=/usr/sbin/apt-cacher-ng -c "/etc/qubes-apt-cacher-ng" ForeGround=1
|