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