X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fpostgrey%2Frun;h=38725ef595297c010d3327cf73916e8c1e851bbd;hb=1b63122dd097c575896b4c4158ed5439eeca1563;hp=fba506a4784cae5faf0fd0ea0611742bb6b39ff5;hpb=4699cb3295e62b8035110ad473cd379d25dc8fdf;p=lhc%2Fateliers.git diff --git a/etc/sv/postgrey/run b/etc/sv/postgrey/run index fba506a..38725ef 100755 --- a/etc/sv/postgrey/run +++ b/etc/sv/postgrey/run @@ -1,6 +1,8 @@ #!/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 \