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