From 294b367823ee53b73819a5989073d39827c449b3 Mon Sep 17 00:00:00 2001 From: Olivier Iffrig Date: Tue, 7 Aug 2012 19:56:18 +0200 Subject: [PATCH] Ajout de l'autostatus Ignore-this: 28f730e3a08847b5280607dfe13a5673 darcs-hash:20120807175618-108b1-c2d317c1d8e18b74b9395c2a195be76071c4f19b.gz --- Bundler/autostatus.xml | 5 +++++ Cfg/etc/autostatus.conf/autostatus.conf | 11 +++++++++++ Cfg/etc/cron.d/autostatus/autostatus | 1 + Metadata/groups.xml | 6 ++++++ 4 files changed, 23 insertions(+) create mode 100644 Bundler/autostatus.xml create mode 100755 Cfg/etc/autostatus.conf/autostatus.conf create mode 100644 Cfg/etc/cron.d/autostatus/autostatus diff --git a/Bundler/autostatus.xml b/Bundler/autostatus.xml new file mode 100644 index 0000000..614a54a --- /dev/null +++ b/Bundler/autostatus.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Cfg/etc/autostatus.conf/autostatus.conf b/Cfg/etc/autostatus.conf/autostatus.conf new file mode 100755 index 0000000..2b87d74 --- /dev/null +++ b/Cfg/etc/autostatus.conf/autostatus.conf @@ -0,0 +1,11 @@ +#! /usr/bin/autostatus +# +statusfile /usr/scripts/var/autostatus/local.status +hostfile /usr/scripts/var/autostatus/hosts +baseurl http://www.crans.org/autostatus +iconurl http://www.crans.org/autostatus/icons +outpage /usr/scripts/var/autostatus/local.html +email root@crans.org +emerg root@crans.org +content_subject on +emailsubject [Autostatus] diff --git a/Cfg/etc/cron.d/autostatus/autostatus b/Cfg/etc/cron.d/autostatus/autostatus new file mode 100644 index 0000000..b8cb40e --- /dev/null +++ b/Cfg/etc/cron.d/autostatus/autostatus @@ -0,0 +1 @@ +0-58/2 * * * * root if [ -x /usr/bin/autostatus ]; then LC_ALL=fr_FR.UTF-8 /usr/bin/autostatus /etc/autostatus.conf >/dev/null 2>/dev/null ; fi diff --git a/Metadata/groups.xml b/Metadata/groups.xml index 6c16fca..3ed8d2e 100644 --- a/Metadata/groups.xml +++ b/Metadata/groups.xml @@ -76,6 +76,7 @@ + @@ -764,6 +765,11 @@ + + + +