add mars-tools package

This commit is contained in:
Gabriel Francisco 2020-11-20 01:47:38 +00:00
parent 39c48db32d
commit f1f37b2d37
4 changed files with 24 additions and 1 deletions

13
debian/control vendored
View File

@ -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.

10
debian/mars-tools.cron.d vendored Normal file
View File

@ -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

1
debian/mars-tools.install vendored Normal file
View File

@ -0,0 +1 @@
userspace/marsadm usr/bin

1
debian/mars-tools.manpages vendored Normal file
View File

@ -0,0 +1 @@
userspace/marsadm.8