Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.02 KB

Currently I have startup scripts for the following things:

Useful commands

sudo useradd --home-dir /home/zeronet --create-home --system --shell /usr/sbin/nologin --user-group -G debian-tor zeronet

echo "[global]
ui_ip = *
ui_password = anypassword
" > /etc/zeronet.conf
chmod 600 /etc/zeronet.conf
sudo chown zeronet:zeronet /etc/zeronet.conf

cp zeronet.service /etc/systemd/system/zeronet.service
chmod 644 /etc/systemd/system/zeronet.service
sudo chown root:root /etc/systemd/system/zeronet.service

sudo systemctl daemon-reload
sudo systemctl enable zeronet.service
sudo service zeronet start
sudo service zeronet status

Thanks to these articles: