Skip to content
Snippets Groups Projects
Commit 286d7967 authored by Bob Mottram's avatar Bob Mottram
Browse files

Better zeronet daemon replacement

parent fb5314f2
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ function regenerate_ssh_host_keys {
}
function configure_zeronet {
sed -i "s|replace.local|P${PEER_ID}.local|g" /etc/systemd/system/zeronet.service
sed -i "s|ExecStart=.*|ExecStart=/usr/bin/python zeronet.py --ip_external P${PEER_ID}.local --trackers_file /opt/zeronet/bootstrap|g" /etc/systemd/system/zeronet.service
echo $"zeronet daemon updated to P${PEER_ID}.local" >> $INSTALL_LOG
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment