X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fpostgrey%2Frun;h=a1bbcda0f4eaf416f44b80dc2e834e93c82a4683;hb=5ce6d51b9c15b2e316d60fad4ecfa1ea1b32bf7b;hp=fba506a4784cae5faf0fd0ea0611742bb6b39ff5;hpb=4699cb3295e62b8035110ad473cd379d25dc8fdf;p=lhc%2Fateliers.git diff --git a/etc/sv/postgrey/run b/etc/sv/postgrey/run index fba506a..a1bbcda 100755 --- a/etc/sv/postgrey/run +++ b/etc/sv/postgrey/run @@ -1,6 +1,10 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} + +install -d -m 2710 -o postgrey -g postfix \ + /run/postgrey + exec /usr/bin/chpst \ -u "$sv":"$sv" \ /usr/sbin/postgrey \