Better zeronet daemon replacement
This commit is contained in:
parent
fb5314f228
commit
286d796722
|
@ -64,7 +64,7 @@ function regenerate_ssh_host_keys {
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_zeronet {
|
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
|
echo $"zeronet daemon updated to P${PEER_ID}.local" >> $INSTALL_LOG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue