From dd2b26fe5f31a1b87910653925f06dd8a55d29eb Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Wed, 18 Jul 2018 12:05:06 +0200 Subject: [PATCH] epic-ts --- debian/sysd2sysv.cp | 4 ++++ doc/sysd2sysv.8 | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 doc/sysd2sysv.8 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) -- 2.20.1