Make user restorecond systemd service consistent with restorecond_user.conf file used by `restorecond -u` Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx> --- restorecond/Makefile | 2 +- restorecond/org.selinux.Restorecond.service | 2 +- .../{restorecond-user.service => restorecond_user.service} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename restorecond/{restorecond-user.service => restorecond_user.service} (100%) diff --git a/restorecond/Makefile b/restorecond/Makefile index 501f89dfca57..4de9642b0f6a 100644 --- a/restorecond/Makefile +++ b/restorecond/Makefile @@ -51,7 +51,7 @@ install: all -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/ -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/user - install -m 644 restorecond-user.service $(DESTDIR)$(SYSTEMDDIR)/user/ + install -m 644 restorecond_user.service $(DESTDIR)$(SYSTEMDDIR)/user/ relabel: install /sbin/restorecon $(DESTDIR)$(SBINDIR)/restorecond diff --git a/restorecond/org.selinux.Restorecond.service b/restorecond/org.selinux.Restorecond.service index 55989a9cbbd0..45aeb7aac806 100644 --- a/restorecond/org.selinux.Restorecond.service +++ b/restorecond/org.selinux.Restorecond.service @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.selinux.Restorecond Exec=/usr/sbin/restorecond -u -SystemdService=restorecond-user.service +SystemdService=restorecond_user.service diff --git a/restorecond/restorecond-user.service b/restorecond/restorecond_user.service similarity index 100% rename from restorecond/restorecond-user.service rename to restorecond/restorecond_user.service -- 2.26.2