Browse Source

Make daemons executable

Bob Mottram 8 years ago
parent
commit
bdae979279

+ 1
- 0
src/freedombone-image-customise View File

@@ -612,6 +612,7 @@ initialise_mesh() {
612 612
     echo '' >> $MESH_SETUP_DAEMON
613 613
     echo '[Install]' >> $MESH_SETUP_DAEMON
614 614
     echo 'WantedBy=multi-user.target' >> $MESH_SETUP_DAEMON
615
+    chmod +x $MESH_SETUP_DAEMON
615 616
     chroot "$rootdir" systemctl enable $MESH_SERVICE
616 617
 }
617 618
 

+ 2
- 0
src/freedombone-image-mesh View File

@@ -163,6 +163,7 @@ function configure_toxcore {
163 163
     fi
164 164
 
165 165
     echo $'Enabling toxcore daemon' >> $INSTALL_LOG
166
+    chmod +x /etc/systemd/system/tox-bootstrapd.service
166 167
     systemctl enable tox-bootstrapd.service
167 168
 
168 169
     echo $'Regenerating Tox bootstrap node keys' >> $INSTALL_LOG
@@ -318,6 +319,7 @@ function mesh_amnesic {
318 319
         echo '[Install]' >> /etc/systemd/system/amnesic.service
319 320
         echo 'WantedBy=multi-user.target' >> /etc/systemd/system/amnesic.service
320 321
 
322
+        chmod +x /etc/systemd/system/amnesic.service
321 323
         systemctl daemon-reload
322 324
     fi
323 325
     systemctl enable amnesic

+ 1
- 0
src/freedombone-mesh-install View File

@@ -228,6 +228,7 @@ function mesh_firewall {
228 228
     echo '' >> $FIREWALL_FILENAME
229 229
     echo '[Install]' >> $FIREWALL_FILENAME
230 230
     echo 'WantedBy=multi-user.target' >> $FIREWALL_FILENAME
231
+    chmod +x $FIREWALL_FILENAME
231 232
     $CHROOT_PREFIX systemctl enable meshfirewall
232 233
 }
233 234
 

+ 1
- 0
src/freedombone-utils-firewall View File

@@ -213,6 +213,7 @@ function mesh_firewall {
213 213
     echo '' >> $FIREWALL_FILENAME
214 214
     echo '[Install]' >> $FIREWALL_FILENAME
215 215
     echo 'WantedBy=multi-user.target' >> $FIREWALL_FILENAME
216
+    chmod +x $FIREWALL_FILENAME
216 217
     chroot "$rootdir" systemctl enable meshfirewall
217 218
 }
218 219