Correction: postgrey --> réglage des droits des fichiers
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 23 Nov 2018 15:46:59 +0000 (16:46 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 23 Nov 2018 15:46:59 +0000 (16:46 +0100)
srv/ateliers/etc/postgrey/install [new file with mode: 0755]

diff --git a/srv/ateliers/etc/postgrey/install b/srv/ateliers/etc/postgrey/install
new file mode 100755 (executable)
index 0000000..198758d
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh -eu
+
+# ACTION: initialize from ./
+       tool=$(readlink -e "${0%/install}"/...)/lib/tool/admin
+       . "$tool"/lib/install.sh
+"$tool"/install etc/postgrey
+# ACTION: set access rights
+       "$tool"/ssh-sudo \
+               chmod a+r /etc/postgrey/*