From: Michael Wagner Date: Wed, 18 Jul 2018 10:05:06 +0000 (+0200) Subject: epic-ts X-Git-Tag: sysd2sysv_0.1-1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=dd2b26fe5f31a1b87910653925f06dd8a55d29eb;p=projects.git epic-ts --- diff --git a/debian/sysd2sysv.cp b/debian/sysd2sysv.cp index 919b8ab..314375c 100755 --- a/debian/sysd2sysv.cp +++ b/debian/sysd2sysv.cp @@ -4,3 +4,7 @@ set -e mkdir -p $1/usr/bin/ cp sh/sysd2sysv $1/usr/bin/ +# copy man page +mkdir -p $1/usr/share/man/man8 +gzip -c doc/sysd2sysv.8 >$1/usr/share/man/man8/sysd2sysv.8.gz + diff --git a/doc/sysd2sysv.8 b/doc/sysd2sysv.8 new file mode 100644 index 0000000..ab1a271 --- /dev/null +++ b/doc/sysd2sysv.8 @@ -0,0 +1,16 @@ +.\" Manpage for sysd2sysv. +.\" Contact mail@wagnertech.de to correct errors or typos. +.TH man 8 "18.7.2018" "1.0" "sysd2sysv man page" +.SH NAME +sysd2sysv \- wrapper to run an old SystemV-init environments +.SH SYNOPSIS +.B sysd2sysv +COMMAND SERVICE +.SH DESCRIPTION +.PP +sysd2sysv checks, if the service is present in /etc/init.d. If not +it is expected to be in /etc/sysd2sysv and copied to /etc/init.d. +.PP +Do not install in a Systemd environment! +.SH AUTHOR +Michael Wagner (michael@wagnertech.de)