From 6a2138f239e9778c260eeb5167f1d200c6a50376 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Thu, 30 Apr 2020 13:08:34 +0200 Subject: [PATCH] restorecond: Rename restorecond-user.service to restorecond_user.service Make user restorecond systemd service consistent with restorecond_user.conf file used by `restorecond -u` Signed-off-by: Petr Lautrbach --- 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 501f89df..4de9642b 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 55989a9c..45aeb7aa 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