commit 3bba4fc55f835986c9ff468f383ef51d1aaac855 from: Omar Polo date: Mon Jul 04 19:22:08 2022 UTC remove the OpenBSD' rc file now that gmid is packaged on OpenBSD the rc file is maintained in the ports tree. commit - f759119d2f5707baac35b4960a6ddca5bd205647 commit + 3bba4fc55f835986c9ff468f383ef51d1aaac855 blob - 97fc1cdc547f5a51d2fdf2666b60cefffa8a0528 blob + 13bc71ad1b95ea2ce6bca063a996289f8498236d --- contrib/README +++ 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. blob - 67e5bc42427eaa7686328286c59bcdfc3017bfbd (mode 755) blob + /dev/null --- 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 blob - bdb484375fcc3b1fd35c1537ebba62aa825eee7a blob + e7300095fd25eda8de5938d17ae4cbe4ac85c7ea --- site/contrib.gmi +++ 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