| 1 | #!/sbin/openrc-run |
| 2 | # Copyright 1999-2014 Gentoo Foundation |
| 3 | # Distributed under the terms of the GNU General Public License v2 |
| 4 | # $Id$ |
| 5 | |
| 6 | pidfile="/var/run/git-daemon.pid" |
| 7 | command="/usr/bin/git" |
| 8 | command_args="daemon ${GITDAEMON_OPTS}" |
| 9 | start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}" |
| 10 | |
| 11 | depend() { |
| 12 | use logger |
| 13 | } |