X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fcyclo-wiki%2Flog%2Flocal.sh;fp=etc%2Fsv%2Fcyclo-wiki%2Flog%2Flocal.sh;h=1fa4bf0f4571bbb9921e8dee54560c9a0407c53a;hb=3ea23a03cf85542ecc1134e25e0a56cab82139f8;hp=0000000000000000000000000000000000000000;hpb=eac800033ee43971516bba9222e2298d25e18992;p=lhc%2Fateliers.git diff --git a/etc/sv/cyclo-wiki/log/local.sh b/etc/sv/cyclo-wiki/log/local.sh new file mode 100644 index 0000000..1fa4bf0 --- /dev/null +++ b/etc/sv/cyclo-wiki/log/local.sh @@ -0,0 +1,12 @@ +home=~www/log/"$sv"/spawn-fcgi + +"$tool"/local/adduser log-fcgi-"$sv" \ + --disabled-login \ + --disabled-password \ + --group \ + --home "$home" \ + --shell /bin/false \ + --system + +sudo install -d -m 770 -o log-fcgi-"$sv" -g log-fcgi-"$sv" \ + "$home"