aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-13 00:51:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-13 00:51:40 +0000
commit0eb03f98e5171aeccbcbf0ea07252c82a633f203 (patch)
tree22e61ed80cbc269fb507f0d8aed8723fbe92e6bc /packages
parent896c35ebe199a99dd611494f59cb27f769e1c044 (diff)
downloadpfsense-packages-0eb03f98e5171aeccbcbf0ea07252c82a633f203.tar.gz
pfsense-packages-0eb03f98e5171aeccbcbf0ea07252c82a633f203.tar.bz2
pfsense-packages-0eb03f98e5171aeccbcbf0ea07252c82a633f203.zip
Install carp_sync_client.php into crontab with package and execute it every 5 minutes.
Diffstat (limited to 'packages')
-rw-r--r--packages/carp.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index e1d77b1c..3191f3bf 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -3,6 +3,14 @@
<name>carp</name>
<version>0.1.0</version>
<title>Services: CARP (failover)</title>
+ <modify_system>
+ <item>
+ <modifyfilename>/etc/crontab</modifyfilename>
+ <textneeded>
+*/5 * * * * root nice -n 20 /usr/local/pkg/pf/carp_sync_client.php
+ </textneeded>
+ </item>
+ </modify_system>
<!-- Menu is where this packages menu will appear -->
<menu>
<name>CARP (failover)</name>