[atop] Unit file fix.
Jon Ciesla
limb at fedoraproject.org
Tue Jul 24 18:45:37 UTC 2012
commit 8f9c4b6b78b19c72f9bcf15d83a30fb45676d956
Author: Jon Ciesla <limburgher at gmail.com>
Date: Tue Jul 24 13:45:19 2012 -0500
Unit file fix.
atop.service | 5 ++++-
atop.spec | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/atop.service b/atop.service
index 5903945..49b8811 100644
--- a/atop.service
+++ b/atop.service
@@ -3,7 +3,10 @@ Description=advanced interactive monitor
After=syslog.target
[Service]
-ExecStart=/usr/bin/atop
+Type=forking
+PIDFile=/var/run/atop.pid
+ExecStart=/usr/bin/atopd
+ExecStop=/bin/rm -f /var/run/atop.pid
[Install]
WantedBy=multi-user.target
diff --git a/atop.spec b/atop.spec
index 41e401b..4d1aeb9 100644
--- a/atop.spec
+++ b/atop.spec
@@ -1,7 +1,7 @@
%define _hardened_build 1
Name: atop
Version: 1.26
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: An advanced interactive monitor to view the load on system and process level
Group: Applications/System
@@ -119,6 +119,9 @@ fi
%{_unitdir}/atop.service
%changelog
+* Tue Jul 24 2012 Jon Ciesla <limburgher at gmail.com> - 1.26-8
+- Unit file fix, BZ 840942.
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.26-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list