Fix guix systemd daemon
This commit is contained in:
parent
cdbf4de7e0
commit
e8aa014c6c
|
@ -195,12 +195,13 @@ function install_guix {
|
||||||
guixbuilder$i;
|
guixbuilder$i;
|
||||||
done
|
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'
|
echo $'No guix systemd daemon found'
|
||||||
exit 78225548
|
exit 78225548
|
||||||
fi
|
fi
|
||||||
cp /root/.guix-profile/lib/systemd/system/guix-daemon.service \
|
cp $GUIX_DAEMON /etc/systemd/system/
|
||||||
/etc/systemd/system/
|
|
||||||
systemctl enable guix-daemon
|
systemctl enable guix-daemon
|
||||||
systemctl start guix-daemon
|
systemctl start guix-daemon
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue