From bdae979279ed6de3e62fc332a657ff306d1adc18 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 3 Nov 2016 23:12:59 +0000 Subject: [PATCH] Make daemons executable --- src/freedombone-image-customise | 1 + src/freedombone-image-mesh | 2 ++ src/freedombone-mesh-install | 1 + src/freedombone-utils-firewall | 1 + 4 files changed, 5 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index b9a82bc2..5e97449f 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -612,6 +612,7 @@ initialise_mesh() { echo '' >> $MESH_SETUP_DAEMON echo '[Install]' >> $MESH_SETUP_DAEMON echo 'WantedBy=multi-user.target' >> $MESH_SETUP_DAEMON + chmod +x $MESH_SETUP_DAEMON chroot "$rootdir" systemctl enable $MESH_SERVICE } diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index a3b7638c..ffd7f81f 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -163,6 +163,7 @@ function configure_toxcore { fi echo $'Enabling toxcore daemon' >> $INSTALL_LOG + chmod +x /etc/systemd/system/tox-bootstrapd.service systemctl enable tox-bootstrapd.service echo $'Regenerating Tox bootstrap node keys' >> $INSTALL_LOG @@ -318,6 +319,7 @@ function mesh_amnesic { echo '[Install]' >> /etc/systemd/system/amnesic.service echo 'WantedBy=multi-user.target' >> /etc/systemd/system/amnesic.service + chmod +x /etc/systemd/system/amnesic.service systemctl daemon-reload fi systemctl enable amnesic diff --git a/src/freedombone-mesh-install b/src/freedombone-mesh-install index 1c317211..1a76feb1 100755 --- a/src/freedombone-mesh-install +++ b/src/freedombone-mesh-install @@ -228,6 +228,7 @@ function mesh_firewall { echo '' >> $FIREWALL_FILENAME echo '[Install]' >> $FIREWALL_FILENAME echo 'WantedBy=multi-user.target' >> $FIREWALL_FILENAME + chmod +x $FIREWALL_FILENAME $CHROOT_PREFIX systemctl enable meshfirewall } diff --git a/src/freedombone-utils-firewall b/src/freedombone-utils-firewall index ed7bc006..d9519d3f 100755 --- a/src/freedombone-utils-firewall +++ b/src/freedombone-utils-firewall @@ -213,6 +213,7 @@ function mesh_firewall { echo '' >> $FIREWALL_FILENAME echo '[Install]' >> $FIREWALL_FILENAME echo 'WantedBy=multi-user.target' >> $FIREWALL_FILENAME + chmod +x $FIREWALL_FILENAME chroot "$rootdir" systemctl enable meshfirewall }