mirror of
https://github.com/gogs/gogs.git
synced 2025-12-27 10:40:01 +01:00
17 lines
245 B
Plaintext
17 lines
245 B
Plaintext
#!/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
|
|
}
|