Skip to content

Commit

Permalink
init script gentoo (#447)
Browse files Browse the repository at this point in the history
* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
  • Loading branch information
lunny authored and tboerger committed Dec 22, 2016
1 parent 47a7529 commit 11df7eb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/init/gentoo/gitea
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 11df7eb

Please sign in to comment.