Group: System/Libraries
License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz
-Source101: launchpad-preload.service
+Source101: launchpad-preload@.service
Source102: ac.service
Requires(post): /sbin/ldconfig
rm -rf %{buildroot}/usr/share/aul/mida_db.sql
mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
-install -m 0644 %SOURCE101 %{buildroot}%{_libdir}/systemd/system/launchpad-preload.service
+install -m 0644 %SOURCE101 %{buildroot}%{_libdir}/systemd/system/launchpad-preload@.service
install -m 0644 %SOURCE102 %{buildroot}%{_libdir}/systemd/system/ac.service
-ln -s ../launchpad-preload.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/launchpad-preload.service
+ln -s ../launchpad-preload@.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/launchpad-preload@app.service
ln -s ../ac.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/ac.service
%preun
if [ $1 == 0 ]; then
- systemctl stop launchpad-preload.service
+ systemctl stop launchpad-preload@app.service
systemctl stop ac.service
fi
/sbin/ldconfig
systemctl daemon-reload
if [ $1 == 1 ]; then
- systemctl restart launchpad-preload.service
+ systemctl restart launchpad-preload@app.service
systemctl restart ac.service
fi
/usr/share/aul/preexec_list.txt
%{_bindir}/launchpad_preloading_preinitializing_daemon
%{_bindir}/ac_daemon
-%{_libdir}/systemd/system/multi-user.target.wants/launchpad-preload.service
+%{_libdir}/systemd/system/multi-user.target.wants/launchpad-preload@app.service
%{_libdir}/systemd/system/multi-user.target.wants/ac.service
-%{_libdir}/systemd/system/launchpad-preload.service
+%{_libdir}/systemd/system/launchpad-preload@.service
%{_libdir}/systemd/system/ac.service
%files devel