diff --git a/debian/control b/debian/control index db379af8..baa593fa 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Homepage: http://schoebel.github.io/mars/ Package: mars-dkms Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends}, ${perl:Depends} Description: mars kernel module. MARS Light is a block-level storage replication solution implemented in the form of a Linux kernel module. @@ -18,3 +18,14 @@ Description: mars kernel module. It's almost a drop-in replacement for DRBD but it works asynchronously and over arbitrary distances using a technology similar to transaction logging of database systems. + +Package: mars-tools +Architecture: any +Depends: ${misc:Depends}, ${perl:Depends} +Description: mars userspace tools. + MARS Light is a block-level storage replication solution implemented + in the form of a Linux kernel module. + . + It's almost a drop-in replacement for DRBD but it works + asynchronously and over arbitrary distances using a technology + similar to transaction logging of database systems. diff --git a/debian/mars-tools.cron.d b/debian/mars-tools.cron.d new file mode 100644 index 00000000..31c0f5c7 --- /dev/null +++ b/debian/mars-tools.cron.d @@ -0,0 +1,10 @@ +# Regular cron jobs for MARS +# + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +# MARS transaction logfile rotation + deletion every x minutes + +*/10 * * * * root if [ -L /mars/uuid ] ; then marsadm cron ; fi > /dev/null 2>&1 +*/5,15,25,35,45,55 * * * * root if [ -L /mars/uuid ] ; then marsadm log-delete-all all ; fi > /dev/null 2>&1 + diff --git a/debian/mars-tools.install b/debian/mars-tools.install new file mode 100644 index 00000000..2fd820d1 --- /dev/null +++ b/debian/mars-tools.install @@ -0,0 +1 @@ +userspace/marsadm usr/bin diff --git a/debian/mars-tools.manpages b/debian/mars-tools.manpages new file mode 100644 index 00000000..ab2e42b9 --- /dev/null +++ b/debian/mars-tools.manpages @@ -0,0 +1 @@ +userspace/marsadm.8