summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2014-08-26 19:33:49 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2014-08-26 19:33:49 +0000
commitbcf135b71273927981a9b9160df7e24ddb1c2397 (patch)
treee3c106d8dccb60e6e8efa96f29d33cb409ff4075 /etc/rc.d
parent4f4ba95a6812bebe579d09326c73faa101f2761f (diff)
usr.sbin
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/nginx19
1 files changed, 0 insertions, 19 deletions
diff --git a/etc/rc.d/nginx b/etc/rc.d/nginx
deleted file mode 100755
index bfb775e3cdc..00000000000
--- a/etc/rc.d/nginx
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# $OpenBSD: nginx,v 1.1 2012/02/19 11:34:36 robert Exp $
-
-daemon="/usr/sbin/nginx"
-
-. /etc/rc.d/rc.subr
-
-pexp="nginx:.*master.*process"
-
-rc_reload() {
- ${daemon} -s reload
-}
-
-rc_stop() {
- ${daemon} -s stop || pkill -f "^${pexp}"
-}
-
-rc_cmd $1