change cronjob to autotools template
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 26 Oct 2005 23:01:45 +0000 (23:01 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 26 Oct 2005 23:01:45 +0000 (23:01 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@199 758a04ac-41e6-0310-8a23-8373a73cc35d

etc/cron.d/backupninja [deleted file]
etc/cron.d/backupninja.in [new file with mode: 0644]

diff --git a/etc/cron.d/backupninja b/etc/cron.d/backupninja
deleted file mode 100644 (file)
index ea6b6a4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# /etc/cron.d/backupninja -- cron tab entry for package backupninja
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-# run backupninja every hour on the hour
-0 * * * * root if [ -x /usr/sbin/backupninja ]; then /usr/sbin/backupninja; fi
diff --git a/etc/cron.d/backupninja.in b/etc/cron.d/backupninja.in
new file mode 100644 (file)
index 0000000..5ee1b81
--- /dev/null
@@ -0,0 +1,6 @@
+# /etc/cron.d/backupninja -- cron tab entry for package backupninja
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+# run backupninja every hour on the hour
+0 * * * * root if [ -x @sbindir@/backupninja ]; then @sbindir@/backupninja; fi