diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-22 17:39:17 +0800 |
---|---|---|
committer | Thomas Boerger <thomas@webhippie.de> | 2016-12-22 10:39:17 +0100 |
commit | 11df7ebfc5013ce6acc302fa7808f9c7cbe684de (patch) | |
tree | 9918aff1f615b906d42adde64ad9537f0fe18ad1 /scripts/init | |
parent | 47a7529d9655e11471bbe39958222a13854a6133 (diff) | |
download | gitea-11df7ebfc5013ce6acc302fa7808f9c7cbe684de.tar.gz gitea-11df7ebfc5013ce6acc302fa7808f9c7cbe684de.zip |
init script gentoo (#447)
* init script for gentoo (#3761)
* replace Gogs to Gitea
* remove override port number
* remove port
Diffstat (limited to 'scripts/init')
-rw-r--r-- | scripts/init/gentoo/gitea | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/init/gentoo/gitea b/scripts/init/gentoo/gitea new file mode 100644 index 0000000000..d8c150d417 --- /dev/null +++ b/scripts/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 +} |