-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop modifying distribution package files
Avoids breaking package updates.
- Loading branch information
1 parent
5e53ed2
commit 551eca2
Showing
4 changed files
with
60 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
salt/sys-cacher/files/server/systemd/qubes-apt-cacher-ng.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <[email protected]> | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
[Unit] | ||
Description=Qubes Apt-Cacher NG software download proxy | ||
After=network.target | ||
# This can be used to ensure that the service starts only after delayed mount of | ||
# the storage location. | ||
# Note: when the CacheDir folder in configuration file(s) like in | ||
# /etc/apt-cacher-ng/acng.conf is changed, change the next line too! | ||
RequiresMountsFor=/var/cache/apt-cacher-ng | ||
|
||
[Service] | ||
# the SocketPath option can be removed if the inetd bridge functionality is not> | ||
ExecStart=/usr/sbin/apt-cacher-ng -c "/etc/qubes-apt-cacher-ng" ForeGround=1 | ||
User=apt-cacher-ng | ||
Group=apt-cacher-ng | ||
# This can be changed to notify if the support was enabled at build time | ||
Type=notify | ||
Restart=on-failure | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters