[and/f15] Rework and.service to fix #713432
Jochen Schmitt
s4504kr at fedoraproject.org
Wed Jun 15 19:35:54 UTC 2011
commit 667ddde12d37d86dd7689ba6d021bb203312cb08
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date: Wed Jun 15 21:29:15 2011 +0200
Rework and.service to fix #713432
and.service | 6 +++++-
and.spec | 5 ++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/and.service b/and.service
index 5bbf0a4..67a706d 100644
--- a/and.service
+++ b/and.service
@@ -3,7 +3,11 @@ Description=auto nice daemon
After=syslog.target
[Service]
-ExecStart=/usr/sbin/and
+Type=forking
+EnvironmentFile=/etc/sysconfig/and
+ExecStart=/usr/sbin/and $AND_FLAGS
+StandardOutput=syslog
+StandardError=syslog
[Install]
WantedBy=multi-user.target
\ No newline at end of file
diff --git a/and.spec b/and.spec
index 93c6a53..1363ee1 100644
--- a/and.spec
+++ b/and.spec
@@ -1,6 +1,6 @@
Name: and
Version: 1.2.2
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Auto nice daemon
License: GPLv2
@@ -100,6 +100,9 @@ fi
%{_unitdir}/and.service
%changelog
+* Wed Jun 15 2011 Jochen Schmitt <Jochen herr-schmitt de> 1.2.2-13
+- Rework and.service to fix #713432
+
* Thu Mar 31 2011 Jochen Schmitt <Jochen herr-schmitt de> 1.2.2-12
- Rework for systemd
More information about the scm-commits
mailing list