diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 18:31:17 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 18:31:17 +0200 |
commit | 74ed772637f39d4d03abd5124ba95256658ac1fc (patch) | |
tree | 6db6b126f4cf7722d0a91149a001b0f273cd9c35 | |
parent | Better like this (diff) | |
download | joe-scripts-74ed772637f39d4d03abd5124ba95256658ac1fc.tar.gz joe-scripts-74ed772637f39d4d03abd5124ba95256658ac1fc.tar.bz2 joe-scripts-74ed772637f39d4d03abd5124ba95256658ac1fc.tar.xz joe-scripts-74ed772637f39d4d03abd5124ba95256658ac1fc.tar.zst joe-scripts-74ed772637f39d4d03abd5124ba95256658ac1fc.zip |
New script for the daemon
-rwxr-xr-x | git-ro-daemon.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/git-ro-daemon.pl b/git-ro-daemon.pl new file mode 100755 index 0000000..93c5339 --- /dev/null +++ b/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__ |