From: Julien Moutinho Date: Mon, 18 Mar 2013 09:47:33 +0000 (+0100) Subject: Suppression : vm_hosted : rule_xinetd_configure . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=74f2e267053d0ecc2365bfd6ed223c6de0673ba6 Suppression : vm_hosted : rule_xinetd_configure . --- diff --git a/etc/xinetd.d/git b/etc/xinetd.d/git deleted file mode 100644 index 2501692..0000000 --- a/etc/xinetd.d/git +++ /dev/null @@ -1,21 +0,0 @@ -service git - { - disable = no - env = - group = git-daemon - groups = no - id = git - instances = 5 - log_on_failure += HOST - log_on_success += PID HOST DURATION - max_load = 5 - passenv = - port = 9418 - protocol = tcp - server = /usr/bin/git - server_args = daemon --inetd --verbose --base-path=/home/git/pub/git --interpolated-path=/home/git/srv/git/%H%D --syslog --user-path=pub/git -- /home/git/pub/git - socket_type = stream - type = UNLISTED - user = git-daemon - wait = no - } diff --git a/vm_hosted b/vm_hosted index c90252c..8ffc922 100755 --- a/vm_hosted +++ b/vm_hosted @@ -1290,17 +1290,6 @@ rule_user_root_configure () { do sudo gpg --import "$key" done } -rule_xinetd_configure () { - rule apt_get_install xinetd - local -; set +f - for conf in "$tool"/etc/xinetd.d/* - do conf=${conf#"$tool"/etc/xinetd.d/} - sudo install -m 660 -o root -g root \ - "$tool"/etc/xinetd.d/"$conf" \ - /etc/xinetd.d/"$conf" - done - sudo service xinetd restart - } rule_configure () { rule apt_configure rule git_configure @@ -1320,7 +1309,6 @@ rule_configure () { rule nginx_configure rule php5_fpm_configure rule gitolite_configure - rule xinetd_configure } rule_luks_key_change () {