diff options
author | drebs <drebs@leap.se> | 2015-03-09 15:22:17 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-03-09 15:26:12 -0300 |
commit | 61a56f2ee301212d96c2d95a21d524bc06b3a677 (patch) | |
tree | 392dc8ea9736d68bae3dce5f6139d91ba30ffb90 /server | |
parent | 41b34cc0d8bd6c2ae22547bc02845e68cab12c3b (diff) |
Fix soledad initscript uid and gid.
Diffstat (limited to 'server')
-rw-r--r-- | server/changes/bug_fix-initscript-uid-and-gid | 1 | ||||
-rw-r--r-- | server/pkg/soledad-server | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/changes/bug_fix-initscript-uid-and-gid b/server/changes/bug_fix-initscript-uid-and-gid new file mode 100644 index 00000000..d4767984 --- /dev/null +++ b/server/changes/bug_fix-initscript-uid-and-gid @@ -0,0 +1 @@ + o Fix server daemon uid and gid by passing them to twistd on the initscript. diff --git a/server/pkg/soledad-server b/server/pkg/soledad-server index ccb3e9b0..811ad55b 100644 --- a/server/pkg/soledad-server +++ b/server/pkg/soledad-server @@ -34,8 +34,8 @@ case "${1}" in start) echo -n "Starting soledad: twistd" start-stop-daemon --start --quiet \ - --user=${USER} --group=${GROUP} \ --exec ${TWISTD_PATH} -- \ + --uid=${USER} --gid=${GROUP} \ --pidfile=${PIDFILE} \ --logfile=${LOGFILE} \ web \ |