From 286d796722f0ed71f779a939e09879ecc99abe4e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 May 2016 09:45:02 +0100 Subject: [PATCH] Better zeronet daemon replacement --- src/freedombone-image-mesh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 01d4515f..2c37b40f 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -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 }