1.6.0.r1.gd7bd0cf-1: various fixes (service unit, postgresql)

This commit is contained in:
Timothée Ravier 2017-01-07 00:06:16 +01:00
parent 02a43384b7
commit f269354ff2
4 changed files with 34 additions and 11 deletions

View file

@ -1,5 +1,5 @@
post_install() {
getent group ffsync &>/dev/null || groupadd ffsync >/dev/null
getent group ffsync &>/dev/null || groupadd -r ffsync >/dev/null
getent passwd ffsync &>/dev/null || useradd -r -s /usr/bin/false \
-g ffsync -G ffsync,http -d /var/lib/ffsync ffsync >/dev/null