fix libdir in systemd service file
This commit is contained in:
parent
72d6eb491d
commit
1bffe558cd
@ -4,7 +4,7 @@ After=syslog.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib64/sa/sa1 --boot
|
ExecStart=@LIBDIR@/sa/sa1 --boot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: sysstat
|
Name: sysstat
|
||||||
Version: 10.0.2
|
Version: 10.0.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The sar and iostat system monitoring commands
|
Summary: The sar and iostat system monitoring commands
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -44,6 +44,7 @@ mkdir -p %{buildroot}/%{_sysconfdir}/cron.d
|
|||||||
install -m 0644 cron/sysstat.crond %{buildroot}/%{_sysconfdir}/cron.d/sysstat
|
install -m 0644 cron/sysstat.crond %{buildroot}/%{_sysconfdir}/cron.d/sysstat
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
||||||
|
sed -i 's|@LIBDIR@|%{_libdir}|g' %{buildroot}%{_unitdir}/sysstat.service
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -93,6 +94,9 @@ fi
|
|||||||
%{_localstatedir}/log/sa
|
%{_localstatedir}/log/sa
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 13 2011 Tom Callaway <spot@fedoraproject.org> - 10.0.2-2
|
||||||
|
- fix libdir pathing in systemd service file
|
||||||
|
|
||||||
* Mon Sep 12 2011 Tom Callaway <spot@fedoraproject.org> - 10.0.2-1
|
* Mon Sep 12 2011 Tom Callaway <spot@fedoraproject.org> - 10.0.2-1
|
||||||
- update to 10.0.2
|
- update to 10.0.2
|
||||||
- convert to systemd
|
- convert to systemd
|
||||||
|
Loading…
Reference in New Issue
Block a user