summaryrefslogtreecommitdiffstats
path: root/scripts/init/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init/openbsd')
-rwxr-xr-xscripts/init/openbsd/gitea19
-rwxr-xr-xscripts/init/openbsd/gogs19
2 files changed, 19 insertions, 19 deletions
diff --git a/scripts/init/openbsd/gitea b/scripts/init/openbsd/gitea
new file mode 100755
index 0000000000..c43190b558
--- /dev/null
+++ b/scripts/init/openbsd/gitea
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="/home/git/gitea/gitea"
+daemon_user="git"
+daemon_flags="web"
+
+gitea_directory="/home/git/gitea"
+
+rc_bg=YES
+
+. /etc/rc.d/rc.subr
+
+rc_start() {
+ ${rcexec} "cd ${gitea_directory}; ${daemon} ${daemon_flags} ${_bg}"
+}
+
+rc_cmd $1
diff --git a/scripts/init/openbsd/gogs b/scripts/init/openbsd/gogs
deleted file mode 100755
index 95fcf16965..0000000000
--- a/scripts/init/openbsd/gogs
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# $OpenBSD$
-
-daemon="/home/git/gogs/gogs"
-daemon_user="git"
-daemon_flags="web"
-
-gogs_directory="/home/git/gogs"
-
-rc_bg=YES
-
-. /etc/rc.d/rc.subr
-
-rc_start() {
- ${rcexec} "cd ${gogs_directory}; ${daemon} ${daemon_flags} ${_bg}"
-}
-
-rc_cmd $1