mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
Rename and update init files to use "gitea" instead of "gogs"
Closes #102
This commit is contained in:
19
scripts/init/openbsd/gitea
Executable file
19
scripts/init/openbsd/gitea
Executable file
@ -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
|
@ -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
|
Reference in New Issue
Block a user