1 2 3 4 5 6 7 8
#!/bin/sh SEAFILE_HOME=/var/lib/seafile addgroup -S -g 800 seafile 2>/dev/null adduser -S -u 800 -D -h $SEAFILE_HOME -s /bin/sh -G seafile -g seafile seafile 2>/dev/null exit 0