aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seafile/seafile-server.pre-install
blob: 173e73a35b8a8da51d84fc4f968fabdc9302cc55 (plain)
1
2
3
4
5
6
7
#!/bin/sh

SEAFILE_HOME=/var/lib/seafile

addgroup -S -g 800 seafile 2>/dev/null
adduser -h $SEAFILE_HOME -s /bin/sh -G seafile -g seafile -u 800 -D seafile 2>/dev/null
exit 0