mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Hardcode storage path as /var/lib/fprint
--localstatedir (and --prefix) will now be ignored in favour of this hardcoded path. This is in preparation for a change to use systemd's StateDirectory feature.
This commit is contained in:
committed by
Will Thompson
parent
8ae7abc6c2
commit
9ed8767cb3
@ -15,7 +15,7 @@ if HAVE_SYSTEMD
|
||||
systemdservicedir = $(systemdsystemunitdir)
|
||||
systemdservice_DATA = $(systemdservice_in_files:.service.in=.service)
|
||||
$(systemdservice_DATA): $(systemdservice_in_files) Makefile
|
||||
@sed -e "s|\@libexecdir\@|$(libexecdir)|" -e "s|\@localstatedir\@|$(localstatedir)|" $< > $@
|
||||
@sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
|
||||
endif
|
||||
|
||||
polkitdir = $(datadir)/polkit-1/actions
|
||||
|
||||
@ -11,7 +11,7 @@ ExecStart=@libexecdir@/fprintd
|
||||
ProtectSystem=strict
|
||||
ProtectKernelTunables=true
|
||||
ProtectControlGroups=true
|
||||
ReadWritePaths=@localstatedir@/lib/fprint
|
||||
ReadWritePaths=/var/lib/fprint
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user