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
an class='msg-avail'>...Ludovic Courtès 2019-09-06Merge branch 'master' into core-updatesMark H Weaver 2019-09-02tests: 'with-http-server' accepts multiple responses....Ludovic Courtès 2019-08-22Merge branch 'master' into core-updatesMark H Weaver 2019-08-16derivations: Delete duplicate inputs when computing derivation hash....Ludovic Courtès 2019-07-17Merge branch 'master' into core-updatesLudovic Courtès 2019-07-15derivations: Update tests to use new calling convention....Ludovic Courtès 2019-07-12Merge branch 'master' into core-updates...Marius Bakke 2019-07-05derivations: 'derivation-build-plan' recurses on substituables....Ludovic Courtès 2019-06-27Merge branch 'master' into core-updatesLudovic Courtès 2019-06-27derivations: 'build-derivations' can be passed derivation inputs....Ludovic Courtès 2019-06-27derivations: <derivation-input> now aggregates a <derivation>....Ludovic Courtès 2019-06-27derivations: Rewrite and replace 'derivations-prerequisites-to-build'....Ludovic Courtès 2019-06-20Merge branch 'staging' into core-updatesMarius Bakke 2019-06-18tests: Avoid 'delete-paths' calls for 'derivation-prerequisites-to-build'....Ludovic Courtès 2019-06-14packages: Remove 'search-bootstrap-binary'....Ludovic Courtès 2019-06-10store: 'build-things' accepts derivation/output pairs....Ludovic Courtès 2019-02-04daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables....Ludovic Courtès 2019-01-21store: Rename '&nix-error' to '&store-error'....Ludovic Courtès 2018-11-28derivations: Add properties....Ludovic Courtès 2018-09-04Switch to Guile-Gcrypt....Ludovic Courtès 2018-01-30derivations: Adjust tests for Stow environments....Ludovic Courtès 2017-10-12tests: Support multiple HTTP server instances....Ludovic Courtès 2017-06-02derivations: 'derivation-prerequisites-to-build' returns <substitutable>....Ludovic Courtès 2017-06-02derivations: 'substitution-oracle' returns a <substitutable>....Ludovic Courtès 2017-04-22derivations: Adjust builder encoding test....Ludovic Courtès 2017-04-21derivations: Restore UTF-8 encoding of build scripts....Ludovic Courtès 2017-03-28derivations: Do not fetch narinfos for non-substitutable items....Ludovic Courtès