Make daemons executable

This commit is contained in:
Bob Mottram 2016-11-03 23:12:59 +00:00
parent fec739062f
commit bdae979279
4 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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