|
From: <di...@us...> - 2007-01-31 15:24:09
|
Revision: 341
http://safekeep.svn.sourceforge.net/safekeep/?rev=341&view=rev
Author: dimi
Date: 2007-01-31 07:21:00 -0800 (Wed, 31 Jan 2007)
Log Message:
-----------
Install a daily cron task for safekeep
Modified Paths:
--------------
safekeep/trunk/safekeep.spec.in
Added Paths:
-----------
safekeep/trunk/safekeep.cron
Added: safekeep/trunk/safekeep.cron
===================================================================
--- safekeep/trunk/safekeep.cron (rev 0)
+++ safekeep/trunk/safekeep.cron 2007-01-31 15:21:00 UTC (rev 341)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+sudo -H -u safekeep safekeep --server
+
Property changes on: safekeep/trunk/safekeep.cron
___________________________________________________________________
Name: svn:executable
+ *
Modified: safekeep/trunk/safekeep.spec.in
===================================================================
--- safekeep/trunk/safekeep.spec.in 2007-01-30 19:31:43 UTC (rev 340)
+++ safekeep/trunk/safekeep.spec.in 2007-01-31 15:21:00 UTC (rev 341)
@@ -67,6 +67,8 @@
%install
install -d -m 755 "%{buildroot}%{_sysconfdir}/safekeep.d"
+install -d -m 755 "%{buildroot}%{_sysconfdir}/cron.daily"
+install -m 755 safekeep.cron "%{buildroot}%{_sysconfdir}/cron.daily"
install -d -m 755 "%{buildroot}%{_bindir}/"
install -m 755 safekeep "%{buildroot}%{_bindir}/"
install -d -m 755 "%{buildroot}%{_mandir}/man1/"
@@ -98,6 +100,7 @@
%attr(750,%{name},%{name}) %dir %{homedir}
%attr(700,%{name},%{name}) %dir %{homedir}/.ssh
%dir %{_sysconfdir}/safekeep.d
+%config %{_sysconfdir}/cron.daily/safekeep.cron
%doc safekeep-test sample.conf
%doc AUTHORS COPYING LICENSE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|