Skip to content

Commit

Permalink
debian/authd.service: Don't create unused cache directory
Browse files Browse the repository at this point in the history
We don't use the cache directory currently, and we still have code for
migrating the database from the old path (/var/cache/authd) to the new
path (/var/lib/authd), which results in this warning if both directories
exist:

    Both old and new database directories exist, can't migrate "/var/cache/authd/" to "/var/lib/authd/"
  • Loading branch information
adombeck committed Jan 23, 2025
1 parent 03a9fef commit 82691eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions debian/authd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native

# This always corresponds to /var/cache/authd
CacheDirectory=authd
CacheDirectoryMode=0700

# This always corresponds to /var/lib/authd
StateDirectory=authd
StateDirectoryMode=0700
Expand Down

0 comments on commit 82691eb

Please sign in to comment.