Add zeronet user

This commit is contained in:
Bob Mottram 2015-08-23 12:37:58 +01:00
parent 284afc76f8
commit 04915c98b7
1 changed files with 1 additions and 1 deletions

View File

@ -1605,7 +1605,7 @@ function install_zeronet {
apt-get -y install python python-msgpack python-gevent python-pip apt-get -y install python python-msgpack python-gevent python-pip
pip install msgpack-python --upgrade pip install msgpack-python --upgrade
useradd --home /opt/zeronet/ --shell /sbin/nologin --user-group daemon zeronet useradd -d /opt/zeronet/ -s /bin/false zeronet
git clone $ZERONET_REPO /opt/zeronet git clone $ZERONET_REPO /opt/zeronet
sudo chown -R zeronet:zeronet /opt/zeronet sudo chown -R zeronet:zeronet /opt/zeronet