diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3469d33 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +ECHO = @echo +GCC = gcc +RM = @rm -f +CCFLAGS = -c -g -ansi -pedantic -Wall #optimization? +OBJETS = $(SRC:.c=.o) +SRC = $(wildcard *.c) +EXE = deployer +LIBRARIES = + +$(EXE) : $(OBJETS) + $(ECHO) "-Linking $(EXE)-" + $(GCC) -o $@ $^ $(LIBRARIES) + +%.o:%.cpp + $(ECHO) "-Compilation $<- " + $(GCC) $(CCFLAGS) -o $@ $< + +.PHONY: clean +clean: + $(ECHO) "-Cleaning-" + $(RM) $(OBJETS) $(EXE) \ No newline at end of file diff --git a/deployer b/deployer new file mode 100755 index 0000000..d0fe2b9 Binary files /dev/null and b/deployer differ diff --git a/services.csv b/services.csv new file mode 100644 index 0000000..7f83c25 --- /dev/null +++ b/services.csv @@ -0,0 +1,57 @@ +# This is not real CSV. Do not put separator in a field, even escaped +# ID ; username ; service name ; server name +1;sftp.jean-cloud.net;sftp.jean-cloud.net;raku.jean-cloud.org +#2;benevoles31.karnaval.fr;benevoles31.karnaval.fr;max.jean-cloud.org +3;builder.rimarima.fr;builder.rimarima.fr;raku.jean-cloud.org +5;chiloe.eu;chiloe.eu;shlago.jean-cloud.org +7;collectif-arthadie.fr;collectif-arthadie.fr;izzo.jean-cloud.org +8;compagnienouvelle.fr;compagnienouvelle.fr;shlago.jean-cloud.org +9;copaines.jean-cloud.net;copaines.jean-cloud.net;shlago.jean-cloud.org +11;deployer.jean-cloud.org;deployer.jean-cloud.org;shlago.jean-cloud.org +12;dnscerts.jean-cloud.org;dnscerts.jean-cloud.org;montbonnot.jean-cloud.org +13;etrevivant.net;etrevivant.net;shlago.jean-cloud.org +14;feministesucl34.communistesliber;feministesucl34.communisteslibertaires.org;none +15;feteducourt.jean-cloud.net;feteducourt.jean-cloud.net;shlago.jean-cloud.org +16;feteducourt2020.jean-cloud.net;feteducourt2020.jean-cloud.net;shlago.jean-cloud.org +17;git.jean-cloud.net;git.jean-cloud.net;izzo.jean-cloud.org +20;inurbe.fr;inurbe.fr;shlago.jean-cloud.org +21;jean-cloud.net;jean-cloud.net;shlago.jean-cloud.org +22;leida.fr;leida.fr;shlago.jean-cloud.org +23;lexicographe.jean-cloud.net;lexicographe.jean-cloud.net;shlago.jean-cloud.org +24;metamorphosemagazine.fr;metamorphosemagazine.fr;shlago.jean-cloud.org +25;mux.radiodemo.oma-radio.fr;mux.radiodemo.oma-radio.fr;raku.jean-cloud.org +26;nc-backup.jean-cloud.net;nc-backup.jean-cloud.net;raku.jean-cloud.org +27;ns.jean-cloud.org;ns.jean-cloud.org;nowhere +28;ns1.jean-cloud.org;ns1.jean-cloud.org;izzo.jean-cloud.org +29;nuage.jean-cloud.net;nuage.jean-cloud.net;izzo.jean-cloud.org +30;oma-radio.fr;oma-radio.fr;izzo.jean-cloud.org +31;pa1.studios.oma-radio.fr;pa1.studios.oma-radio.fr;tetede.jean-cloud.org +32;paj.oma-radio.fr;paj.oma-radio.fr;nougaro.jean-cloud.org +33;quadrille-elsa.jean-cloud.net;quadrille-elsa.jean-cloud.net;shlago.jean-cloud.org +34;radiodemo.oma-radio.fr;radiodemo.oma-radio.fr;raku.jean-cloud.org +35;radionimaitre.oma-radio.fr;radionimaitre.oma-radio.fr;tetede.jean-cloud.org +36;raplacgr.jean-cloud.net;raplacgr.jean-cloud.net;izzo.jean-cloud.org +37;rimarima.fr;rimarima.fr;raku.jean-cloud.org +38;rpnow.jean-cloud.net;rpnow.jean-cloud.net;izzo.jean-cloud.org +39;soundbase.radiodemo.oma-radio.fr;soundbase.radiodemo.oma-radio.fr;montbonnot.jean-cloud.org +40;static.jean-cloud.net;static.jean-cloud.net;izzo.jean-cloud.org +41;velov.jean-cloud.net;velov.jean-cloud.net;shlago.jean-cloud.org +42;wiki-cgr.jean-cloud.net;wiki-cgr.jean-cloud.net;izzo.jean-cloud.org +43;radio.karnaval.fr;radio.karnaval.fr;tetede.jean-cloud.org +44;wordpress.abc.jean-cloud.net;wordpress.abc.jean-cloud.net;raku.jean-cloud.org +45;jean-cloud.org;jean-cloud.org;shlago.jean-cloud.org +46;soundbase.paj.oma-radio.fr;soundbase.paj.oma-radio.fr;montbonnot.jean-cloud.org +47;backup-borg-server;backup-borg-server;montbonnot.jean-cloud.org +48;backup-borg-client;backup-borg-client;raku.jean-cloud.org +49;soundbase.radionimaitre.oma;soundbase.radionimaitre.oma-radio.fr;montbonnot.jean-cloud.org +50;monitoring.jean-cloud.net;monitoring.jean-cloud.net;montbonnot.jean-cloud.org +51;benevoles32.karnaval.fr;benevoles32.karnaval.fr;izzo.jean-cloud.org +52;nginx_exporter;nginx_exporter;shlago.jean-cloud.org +#54;accent.jean-cloud.net;accent.jean-cloud.net;raku.jean-cloud.org +55;gaia.jean-cloud.net;gaia.jean-cloud.net;shlago.jean-cloud.org +56;association-chahut.fr;association-chahut.fr;izzo.jean-cloud.org +57;mutubot.jean-cloud.net;mutubot.jean-cloud.net;izzo.jean-cloud.org +59;lyon1.studios.oma-radio.fr;lyon1.studios.oma-radio.fr;izzo.jean-cloud.org +60;soundbase.radiokipik.org;soundbase.radiokipik.org;montbonnot.jean-cloud.org +61;radiokipik.org;radiokipik.org;izzo.jean-cloud.org +62;mux.radiokipik.org;mux.radiokipik.org;izzo.jean-cloud.org