Adding a zeronet user

This commit is contained in:
Bob Mottram 2015-08-17 21:22:37 +01:00
parent 67e4c6bb48
commit c9d345c413
1 changed files with 1 additions and 1 deletions

View File

@ -1602,7 +1602,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
adduser --home /opt/zeronet/ --shell /bin/false --no-create-home --ingroup daemon --disabled-password --disabled-login zeronet useradd --home /opt/zeronet/ --shell /sbin/nologin --user-group daemon 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