mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
245 B
17 lines
245 B
8 years ago
|
#!/sbin/openrc-run
|
||
|
|
||
|
DIR=/home/git/gogs
|
||
|
USER=git
|
||
|
PORT=3000
|
||
|
|
||
|
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
|
||
|
command="${DIR}/gogs"
|
||
|
command_args="web -port ${PORT}"
|
||
|
command_background=yes
|
||
|
pidfile=/var/run/gogs.pid
|
||
|
|
||
|
depend()
|
||
|
{
|
||
|
need net
|
||
|
}
|