diff options
author | redfish | 2016-03-15 01:23:03 -0500 |
---|---|---|
committer | redfish | 2016-03-15 01:23:03 -0500 |
commit | 559267957dee87a21cc551a03ac6bf0ace04879a (patch) | |
tree | faf4114b32ee7f7141bfa7ca0ebbbf3f68eb7ac4 | |
parent | ccce7f2f1d35d94a34fad9b581bcd6ff3872406a (diff) | |
download | aur-559267957dee87a21cc551a03ac6bf0ace04879a.tar.gz |
install: more instructions for using as zeronet user
-rw-r--r-- | zeronet.install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zeronet.install b/zeronet.install index bb3ae78d9095..bd132c8b728d 100644 --- a/zeronet.install +++ b/zeronet.install @@ -20,9 +20,13 @@ post_install() { echo ">>> sudo systemctl status zeronet" echo ">>> sudo journalctl -u zeronet" echo ">>> NOTE: all operations including editing zerosite files," - echo ">>> should be done as user zeronet (one of the following ways):" - echo ">>> sudo -u zeronet python2 zeronet.py ..." + echo ">>> should be done as user zeronet and config must be passed" + echo ">>> for data directory to be selected to /var/lib/zeronet: " + echo ">>> sudo -u zeronet python2 zeronet.py --config_file /etc/zeronet.conf ..." + echo ">>> OR" echo ">>> sudo su - zeronet" + echo ">>> cd /opt/zeronet" + echo ">>> python2 zeronet.py --config_file /etc/zeronet.conf ..." } post_upgrade() { |