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 <plautrba@redhat.com>
This commit is contained in:
Petr Lautrbach 2020-04-30 13:08:34 +02:00
parent 603665855a
commit 6a2138f239
3 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ install: all
-mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system -mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system
install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/ install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/
-mkdir -p $(DESTDIR)$(SYSTEMDDIR)/user -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 relabel: install
/sbin/restorecon $(DESTDIR)$(SBINDIR)/restorecond /sbin/restorecon $(DESTDIR)$(SBINDIR)/restorecond

View File

@ -1,4 +1,4 @@
[D-BUS Service] [D-BUS Service]
Name=org.selinux.Restorecond Name=org.selinux.Restorecond
Exec=/usr/sbin/restorecond -u Exec=/usr/sbin/restorecond -u
SystemdService=restorecond-user.service SystemdService=restorecond_user.service