This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Add an OpenBSD daemon control script (
#3060
)
tags/v1.21.12.1
Vasily Mikhaylichenko
无闻
9 years ago
parent
e84ac64964
commit
f0df46c88a
1 changed files
with
19 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+19
-0
scripts/init/openbsd/gogs
+ 19
- 0
scripts/init/openbsd/gogs
View File
@@ -0,0 +1,19 @@
#!/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
Write
Preview
Loading…
Cancel
Save