From: parmentelat Date: Fri, 7 Dec 2018 15:56:16 +0000 (+0100) Subject: systemd services go in /usr/lib/systemd/system rather than /lib/ X-Git-Tag: myplc-5.3-5~10 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=0f82cadd7f6b1d91b739d060310192dab561f655 systemd services go in /usr/lib/systemd/system rather than /lib/ --- diff --git a/myplc.spec b/myplc.spec index 66dbe08..49240b6 100644 --- a/myplc.spec +++ b/myplc.spec @@ -129,7 +129,7 @@ chmod 755 ${RPM_BUILD_ROOT}/usr/bin/* # Install initscript echo "* Installing plc initscript" install -D -m 755 plc.init ${RPM_BUILD_ROOT}/etc/init.d/plc -install -D -m 644 plc.service ${RPM_BUILD_ROOT}/lib/systemd/system/plc.service +install -D -m 644 plc.service ${RPM_BUILD_ROOT}/usr/lib/systemd/system/plc.service # Install initscripts echo "* Installing plc.d initscripts" @@ -264,7 +264,7 @@ fi /usr/bin/check-hrns.py* /usr/bin/check-vsys-defaults.py* /usr/bin/spot-dup-accounts.sh -/lib/systemd/system/plc.service +/usr/lib/systemd/system/plc.service %files config %defattr(-,root,root,-)