summaryrefslogtreecommitdiffstats
path: root/contrib/init/gentoo
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2017-03-15 13:30:00 +0100
committerGitHub <noreply@github.com>2017-03-15 13:30:00 +0100
commita06c3ad2c02a5473184711be6dbf1b30f0299e11 (patch)
treece0ac065a6afa843ce298d00d1761b5cf48accf9 /contrib/init/gentoo
parent09fe4a2ae9dfa8b3bc8a5039d0feab1e1a34d07b (diff)
downloadgitea-a06c3ad2c02a5473184711be6dbf1b30f0299e11.tar.gz
gitea-a06c3ad2c02a5473184711be6dbf1b30f0299e11.zip
Synced gitignores with github repo (#1245)
* Renamed scripts directory into contrib * Added script to download gitignores from github * Synced gitignores with github repo
Diffstat (limited to 'contrib/init/gentoo')
-rw-r--r--contrib/init/gentoo/gitea15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/init/gentoo/gitea b/contrib/init/gentoo/gitea
new file mode 100644
index 0000000000..d8c150d417
--- /dev/null
+++ b/contrib/init/gentoo/gitea
@@ -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
+}