aboutsummaryrefslogtreecommitdiff
# This is a "service unit file" for the systemd init system to launch
# 'guix-daemon'.  Drop it in /etc/systemd/system or similar to have
# 'guix-daemon' automatically started.

[Unit]
Description=Build daemon for GNU Guix

[Service]
ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon \
    --build-users-group=guixbuild --discover=no \
    --substitute-urls='@GUIX_SUBSTITUTE_URLS@'
Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
StandardOutput=journal
StandardError=journal

# Work around a nasty systemd ‘feature’ that kills the entire process tree
# (including the daemon!) if any child, such as cc1plus, runs out of memory.
OOMPolicy=continue

# Despite the name, this is rate-limited: a broken daemon will eventually fail.
Restart=always

# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
# Some package builds (for example, go@1.8.1) may require even more than
# 1024 tasks.
TasksMax=8192

[Install]
WantedBy=multi-user.target
final.scm?id=96bb00d20336f43fac2c42662e4b1d300e624738'>installer: Run the "guix system init" command in a PTY....Mathieu Othacehe 2022-02-02installer: Use system-wide guix for system init....Josselin Poiret 2022-02-02installer: Turn passwords into opaque records....Josselin Poiret 2022-02-02installer: Remove specific logging code....Josselin Poiret 2022-02-02installer: Keep PATH inside the install container....Josselin Poiret 2022-02-02installer: Use new installer-log-line everywhere....Josselin Poiret 2022-01-14installer: Install the locale before mounting the cow-store....Mathieu Othacehe 2022-01-14installer: Do not set the locale in run-command....Mathieu Othacehe 2022-01-14installer: Remove an unused procedure....Mathieu Othacehe 2020-09-10installer: final: Introduce call-with-mnt-container....Mathieu Othacehe 2020-09-02installer: Run the installation inside a container....Mathieu Othacehe 2020-06-16installer: final: Remove restart-service procedure....Mathieu Othacehe 2020-06-13install: final: Add some logging....Mathieu Othacehe