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