remove the OpenBSD' rc file

now that gmid is packaged on OpenBSD the rc file is maintained in the
ports tree.
This commit is contained in:
Omar Polo 2022-07-04 19:22:08 +00:00
parent f759119d2f
commit 3bba4fc55f
3 changed files with 0 additions and 30 deletions

View File

@ -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.

View File

@ -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

View File

@ -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