diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-06 07:35:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-06 07:36:37 +0000 |
commit | 22f055b22c390e9d23cd67c27b662811734ea1de (patch) | |
tree | d290fa4a86d82c5d18114b3db61c6c2d03a529e1 /main/git/git-daemon.initd | |
parent | d772533df3d659a6a13fb0e1e41edff746ed3288 (diff) | |
download | aports-22f055b22c390e9d23cd67c27b662811734ea1de.tar.bz2 aports-22f055b22c390e9d23cd67c27b662811734ea1de.tar.xz |
main/git: set HOME for git daemon
Fixes:
remote: warning: unable to access '/root/.config/git/attributes': Permission denied
Diffstat (limited to 'main/git/git-daemon.initd')
-rw-r--r-- | main/git/git-daemon.initd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/git/git-daemon.initd b/main/git/git-daemon.initd index 032a14592c..49d22d2a62 100644 --- a/main/git/git-daemon.initd +++ b/main/git/git-daemon.initd @@ -13,6 +13,7 @@ depend() { start() { ebegin "Starting git-daemon" start-stop-daemon --start --quiet --background \ + --env HOME=/var/gitroot \ --pidfile ${PIDFILE} \ --exec /usr/bin/git -- daemon \ --pid-file=${PIDFILE} \ |