From 3bba4fc55f835986c9ff468f383ef51d1aaac855 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 4 Jul 2022 19:22:08 +0000 Subject: [PATCH] remove the OpenBSD' rc file now that gmid is packaged on OpenBSD the rc file is maintained in the ports tree. --- contrib/README | 4 ---- contrib/gmid | 14 -------------- site/contrib.gmi | 12 ------------ 3 files changed, 30 deletions(-) delete mode 100755 contrib/gmid diff --git a/contrib/README b/contrib/README index 97fc1cd..13bc71a 100644 --- a/contrib/README +++ b/contrib/README @@ -9,10 +9,6 @@ gencert Simple shell script to generate self-signed certificates. -gmid - - Sample rc(8) script for OpenBSD, to be placed in /etc/rc.d. - gmid.service Simple systemd service file. diff --git a/contrib/gmid b/contrib/gmid deleted file mode 100755 index 67e5bc4..0000000 --- a/contrib/gmid +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/ksh -# - -daemon="/usr/local/bin/gmid" -daemon_flags="-c /etc/gmid.conf" - -. /etc/rc.d/rc.subr - -rc_pre() { - # use rcexec here since daemon_flags may contain arguments with spaces - ${rcexec} "${daemon} -n ${daemon_flags}" -} - -rc_cmd $1 diff --git a/site/contrib.gmi b/site/contrib.gmi index bdb4843..e730009 100644 --- a/site/contrib.gmi +++ b/site/contrib.gmi @@ -28,18 +28,6 @@ and then run it with something along the lines of: contrib/gencert is a simple script to generate self-signed certificates. -## OpenBSD rc file - -=> TREE/contrib/gmid contrib/gmid - -contrib/gmid is a sample service file for OpenBSD rc(8). To install it: - -```command to install the rc file -# cp contrib/gmid /etc/rc.d -``` - -then the usual ‘rcctl [start|stop|enable|restart] gmid’ are available. - ## systemd unit file => TREE/contrib/gmid.service contrib/gmid.service