Ignore:
Timestamp:
Dec 17, 2009, 10:07:05 PM (15 years ago)
Author:
broder
Message:

Run git-daemon as an inetd service instead of a separate daemon.

git-daemon doesn't run well under daemon(1), because it forks a child
(without detaching) that does all of its work, and killing the parent
doesn't kill the child.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/invirt-dev.postinst

    r2630 r2636  
    2727EOF
    2828
     29        update-inetd --add \
     30            'git\tstream\ttcp\tnowait\tgit\t/usr/bin/git\tgit daemon --inetd --syslog --verbose --export-all --base-path=/srv/git /srv/git'
     31
    2932        echo "-----"
    3033        echo "invirt-dev: run"
Note: See TracChangeset for help on using the changeset viewer.