Skip to content
Snippets Groups Projects
Commit e8aa014c authored by Bob Mottram's avatar Bob Mottram
Browse files

Fix guix systemd daemon

parent cdbf4de7
No related branches found
No related tags found
No related merge requests found
......@@ -195,12 +195,13 @@ function install_guix {
guixbuilder$i;
done
if [ ! -f /root/.guix-profile/lib/systemd/system/guix-daemon.service ]; then
GUIX_DAEMON=(find $INSTALL_DIR/guix -name guix-daemon.service)
if [ ! -f $GUIX_DAEMON ]; then
echo $"$GUIX_DAEMON"
echo $'No guix systemd daemon found'
exit 78225548
fi
cp /root/.guix-profile/lib/systemd/system/guix-daemon.service \
/etc/systemd/system/
cp $GUIX_DAEMON /etc/systemd/system/
systemctl enable guix-daemon
systemctl start guix-daemon
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment