Skip to content

Add CacheDirectory parameter to systemd unit file #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

madmajestro
Copy link
Contributor

The CacheDirectory parameter was added because Systemd would otherwise only allow read-only access to the /var/cache/apt-cacher-rs directory due to ProtectSystem=strict. It also causes Systemd to automatically create the directory with the appropriate permissions if it doesn't exist.

The CacheDirectory parameter was added because Systemd would otherwise
only allow read-only access to the /var/cache/apt-cacher-rs directory
due to ProtectSystem=strict. It also causes Systemd to automatically
create the directory with the appropriate permissions if it doesn't
exist.
@cgzones cgzones merged commit d3dce95 into cgzones:main Mar 23, 2025
3 checks passed
@cgzones
Copy link
Owner

cgzones commented Mar 23, 2025

Applied, thanks for your contribution 👍

@madmajestro madmajestro deleted the add-CacheDirectory-to-unit-file branch March 24, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants