diff options
-rw-r--r-- | debian/soledad-server.dirs | 1 | ||||
-rw-r--r-- | pkg/server/soledad-server.postinst | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/soledad-server.dirs b/debian/soledad-server.dirs index 0819eebb..deb9f393 100644 --- a/debian/soledad-server.dirs +++ b/debian/soledad-server.dirs @@ -1 +1,2 @@ +var/lib/soledad var/lib/soledad/blobs diff --git a/pkg/server/soledad-server.postinst b/pkg/server/soledad-server.postinst index eea93857..6a6fcf70 100644 --- a/pkg/server/soledad-server.postinst +++ b/pkg/server/soledad-server.postinst @@ -17,7 +17,7 @@ id soledad > /dev/null 2>&1 RET=$? if [ ! $RET -eq 0 ]; then - adduser --system soledad --no-create-home --home /srv/leap/ --ingroup soledad + adduser --system soledad --no-create-home --home /var/lib/soledad/ --ingroup soledad fi # allow soledad user to read ssl certificates @@ -28,7 +28,7 @@ id soledad-admin > /dev/null 2>&1 RET=$? if [ ! $RET -eq 0 ]; then - adduser --system soledad-admin --no-create-home --home /srv/leap/ --ingroup soledad + adduser --system soledad-admin --no-create-home --home /var/lib/soledad/ --ingroup soledad fi # update systemd and start service |