diff options
Diffstat (limited to 'src/other')
-rwxr-xr-x | src/other/git-ro-daemon.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/other/git-ro-daemon.pl b/src/other/git-ro-daemon.pl new file mode 100755 index 0000000..93c5339 --- /dev/null +++ b/src/other/git-ro-daemon.pl @@ -0,0 +1,18 @@ +#!/usr/local/bin/perl + +use strict; +use warnings; +use Term::ANSIColor; + +sub main { + system( + '/usr/local/bin/dash', + '-c', + '/usr/local/bin/git daemon --reuseaddr --base-path=/usr/home /usr/home &' + ); + exit; +} + +main(); + +__END__ |