This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
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
init script gentoo (
#447
)
* init script for gentoo (
#3761
) * replace Gogs to Gitea * remove override port number * remove port
master
Lunny Xiao
Thomas Boerger
8 years ago
parent
47a7529d96
commit
11df7ebfc5
1 changed files
with
15 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+15
-0
scripts/init/gentoo/gitea
+ 15
- 0
scripts/init/gentoo/gitea
View File
@@ -0,0 +1,15 @@
#!/sbin/openrc-run
DIR=/home/git/gitea
USER=git
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
command="${DIR}/gitea"
command_args="web"
command_background=yes
pidfile=/var/run/gitea.pid
depend()
{
need net
}
Write
Preview
Loading…
Cancel
Save