Make daemons executable
This commit is contained in:
parent
fec739062f
commit
bdae979279
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue