From f3a93fac75882f0b778223eb93934a7794accf8e Mon Sep 17 00:00:00 2001 From: aquarius Date: Sat, 5 Jan 2008 18:16:34 +0000 Subject: [PATCH] updated cron scripts so they will not need screen to run removed screen from dependencies git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@38 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.spec | 8 ++++++-- sample-configuration/prometheus.cron | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/prometheus.spec b/prometheus.spec index deff5f7..8aebe88 100644 --- a/prometheus.spec +++ b/prometheus.spec @@ -1,14 +1,14 @@ Summary: Traffic shaper replacement for Internet Service Providers (ISP). Name: prometheus Version: 0.7.7 -Release: 2 +Release: 3 License: GPL Vendor: Arachne Labs http://www.arachne.cz Packager: Tomas Lastovicka Group: Applications/System Source0: http://gpl.arachne.cz/download/%name-%version.tar.gz URL: http://gpl.arachne.cz -Requires: iptables, iproute, screen +Requires: iptables, iproute BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -53,6 +53,10 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/cron.d/prometheus %changelog +* Sat Jan 5 2008 Tomas Lastovicka 0.7.7-3 +- removed screen from dependencies +- cleaned up cron file + * Sat Jan 5 2008 Tomas Lastovicka 0.7.7-2 - added manual pages - added crontab file diff --git a/sample-configuration/prometheus.cron b/sample-configuration/prometheus.cron index 4e9f8d3..80c3fa2 100644 --- a/sample-configuration/prometheus.cron +++ b/sample-configuration/prometheus.cron @@ -1,5 +1,5 @@ # Prometheus Cron file now made with 5% more love # (thanks to Danny for suggestion) -0 0,1,7-23 * * * root nice /root/qos/prometheus -p -0 2 * * * root screen -L -d -m /root/qos/prometheus +0 0,1,7-23 * * * root nice /root/qos/prometheus -p 1>/dev/null +0 2 * * * root /root/qos/prometheus 1>/dev/null -- 2.30.2