From f0cb40d9e4b8d3285ac7125fb40433d65fae172e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 8 Jul 2020 16:43:14 +0200 Subject: Directory tree rework --- src/other/git-ro-daemon.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 src/other/git-ro-daemon.pl (limited to 'src/other') 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__ -- cgit v1.2.3