diff --git a/actor/linux/Makefile b/actor/linux/Makefile index b2655245..8ccf40ef 100644 --- a/actor/linux/Makefile +++ b/actor/linux/Makefile @@ -10,7 +10,7 @@ BINDIR := $(DESTDIR)/usr/bin SBINDIR = $(DESTDIR)/usr/sbin APPSDIR := $(DESTDIR)/usr/share/applications CFGDIR := $(DESTDIR)/etc/udsactor -SYSTEMDIR := $(DESTDIR)/etc/system.d/system +SYSTEMDIR := $(DESTDIR)/etc/systemd/system POLKITDIR := $(DESTDIR)/usr/share/polkit-1/actions/ XDGAUTOSTARTDIR := $(DESTDIR)/etc/xdg/autostart KDEAUTOSTARTDIR := $(DESTDIR)/usr/share/autostart diff --git a/actor/linux/udsactor-template.spec b/actor/linux/udsactor-template.spec index 4f09a114..fe0c54cf 100644 --- a/actor/linux/udsactor-template.spec +++ b/actor/linux/udsactor-template.spec @@ -34,8 +34,8 @@ make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean cd $curdir -# %post -# systemctl enable udsactor.service > /dev/null 2>&1 +%post +systemctl enable udsactor.service > /dev/null 2>&1 %preun systemctl disable udsactor.service > /dev/null 2>&1 @@ -57,7 +57,7 @@ This package provides the required components to allow this machine to work on a %defattr(-,root,root) /etc/udsactor /etc/xdg/autostart/UDSActorTool.desktop -/etc/system.d/system/udsactor.service +/etc/systemd/system/udsactor.service /usr/bin/UDSActorTool-startup /usr/bin/udsactor /usr/bin/udsvapp