diff options
Diffstat (limited to 'dev-vcs/git/files/git-daemon-r2.initd')
-rw-r--r-- | dev-vcs/git/files/git-daemon-r2.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-daemon-r2.initd b/dev-vcs/git/files/git-daemon-r2.initd new file mode 100644 index 000000000000..453fd608363f --- /dev/null +++ b/dev-vcs/git/files/git-daemon-r2.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/run/git-daemon.pid" +command="/usr/bin/git" +command_args="daemon ${GITDAEMON_OPTS}" +command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}" +start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME=" +command_background="yes" + +depend() { + use logger +} |