This commit is contained in:
Bob Mottram 2016-05-28 17:03:36 +01:00
parent 08c2079e61
commit 2d4dea010d
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ function mesh_zeronet {
# to do this, but on a purely local mesh the internet isn't available # to do this, but on a purely local mesh the internet isn't available
sed -i 's|fileserver_port = 0|fileserver_port = config.fileserver_port\n sys.modules["main"].file_server.port_opened = True|g' $rootdir/opt/zeronet/src/Site/Site.py sed -i 's|fileserver_port = 0|fileserver_port = config.fileserver_port\n sys.modules["main"].file_server.port_opened = True|g' $rootdir/opt/zeronet/src/Site/Site.py
ZERPNET_DAEMON=$rootdir/etc/systemd/system/zeronet.service ZERONET_DAEMON=$rootdir/etc/systemd/system/zeronet.service
echo '[Unit]' > $ZERONET_DAEMON echo '[Unit]' > $ZERONET_DAEMON
echo 'Description=Zeronet Server' >> $ZERONET_DAEMON echo 'Description=Zeronet Server' >> $ZERONET_DAEMON
echo 'After=syslog.target' >> $ZERONET_DAEMON echo 'After=syslog.target' >> $ZERONET_DAEMON