Pour pouvoir utiliser blih / git il faut configurer avant tout sa paire de clé SSH
Voici les étapes:
- Génération d'une paire de clé ssh:
| function command1(params) { | |
| if (params.length > 0) { | |
| console.log('command1 --> ', params); | |
| } | |
| return 0; | |
| } | |
| function command2(params) { | |
| if (params.length > 0) { | |
| console.log('command2 --> ', params); |
| # This configuration has been tested on GitLab 8.2 | |
| # Note this config assumes unicorn is listening on default port 8080 and | |
| # gitlab-workhorse is listening on port 8181. To allow gitlab-workhorse to | |
| # listen on port 8181, edit /etc/gitlab/gitlab.rb and change the following: | |
| # | |
| # gitlab_workhorse['listen_network'] = "tcp" | |
| # gitlab_workhorse['listen_addr'] = "127.0.0.1:8181" | |
| # | |
| #Module dependencies | |
| # mod_rewrite |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: Firewall maison | |
| # Required-Start: $local_fs $remote_fs $network $syslog | |
| # Required-Stop: $local_fs $remote_fs $network $syslog | |
| # Default-Start: | |
| # Default-Stop: | |
| # X-Interactive: false | |
| # Short-Description: Firewall maison |