diff --git a/debian/check.man b/debian/check.man new file mode 100644 index 0000000..4249c28 --- /dev/null +++ b/debian/check.man @@ -0,0 +1,17 @@ +.\" Manpage for domcheck +.\" Contact dominique@fournier38.fr to correct errors or typos. +.TH man 1 "30 Jan 2014" "1.0" "domcheck man page" +.SH NAME +domcheck \- Check the state of daemons, filesystems, network ports and try to restart associated processes +.SH SYNOPSIS +domcheck +.SH DESCRIPTION +domcheck is launched by cron and try to check if all the processes needed run on the system. If it is not the case, it restart them. + +It can be used to test the network daemons too, or the filesystem load. +.SH OPTIONS +The domcheck does not take any options. You must configure the /etc/check.conf to define the parameters. +.SH BUGS +No known bugs. +.SH AUTHOR +Dominique Fournier (dominique@fournier38.fr) diff --git a/debian/control b/debian/control index 84d0dc6..22bb0eb 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,12 @@ Section: admin Priority: optional Maintainer: Dominique Fournier Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.6.2 +Standards-Version: 3.9.4 Package: domcheck Architecture: all -Depends: bash, messagerate -Description: This software check if the system is correct : all the checked daemons are actives, the filesystem is not full, some special directories are empty... +Depends: bash(>=4), messagerate, ${misc:Depends} +Description: This software check if the system is correct and try to solve problems + Based on small functions, domcheck look at the daemons, networks ports, + filesystems... + It can interract send audio alerts to be informed in case of problem. diff --git a/debian/copyright b/debian/copyright index ce25a7a..47f1c47 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ This package was debianized by Dominique Fournier on Thu, 2 Jun 2011 23:12:16 +0100 for the first time. -Copyright Holder: Dominique Fournier +Copyright 2011-2014 Dominique Fournier License: GPL v3 diff --git a/debian/rules b/debian/rules index ea339b0..30f36ab 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,11 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + clean: dh_testdir dh_testroot @@ -23,7 +28,7 @@ install: build dh_install # Build architecture-dependent files here. -binary-arch: build install +binary-indep: build install dh_testdir dh_testroot dh_installchangelogs @@ -39,7 +44,7 @@ binary-arch: build install # dh_installinit dh_installcron -pdomcheck --name=check # dh_installinfo -# dh_installman + dh_installman debian/check.man dh_link # dh_strip dh_compress diff --git a/debian/source/format b/debian/source/format index 89ae9db..163aaf8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt)