Better zeronet daemon replacement

This commit is contained in:
Bob Mottram 2016-05-29 09:45:02 +01:00
parent fb5314f228
commit 286d796722
1 changed files with 1 additions and 1 deletions

View File

@ -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
}