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
d Ben Woodcroft. Fix some names and emails. Alex Kost 2015-06-27Add Claes Wallin to 'AUTHORS'.Alex Kost 2015-04-26gnu: Add guile-minikanren....* gnu/packages/guile.scm (guile-minikanren): New variable. Christopher Allan Webber 2015-04-05Add Andy to 'AUTHORS'.Ludovic Courtès 2015-03-09Add Paul to 'AUTHORS'.Mark H Weaver 2015-03-09Add Alexander to 'AUTHORS'.Ludovic Courtès 2015-02-20Add David Hashe to 'AUTHORS'.Andreas Enge 2015-02-02Add Deck to 'AUTHORS'.Ludovic Courtès 2015-01-24Add Ricardo to 'AUTHORS'.Ludovic Courtès 2014-12-09Add Tomáš to 'AUTHORS'.Ludovic Courtès 2014-11-18Add Julien to 'AUTHORS'.Ludovic Courtès 2014-11-14Add the name of Sou Bunnbu in its original script to 'AUTHORS'.Ludovic Courtès 2014-11-12Add Sun Bunnbu to 'AUTHORS'.Ludovic Courtès 2014-10-26Update name and email address for Joshua Grant.Joshua Grant 2014-10-08Add Federico to 'AUTHORS'.Ludovic Courtès 2014-09-10Add Marek to 'AUTHORS'.Ludovic Courtès 2014-08-15Update AUTHORS and THANKS.Ludovic Courtès 2014-07-18Update 'AUTHORS'....* AUTHORS: Correct the email address I use for Guix work. John Darrington 2014-07-15Add Jason to 'AUTHORS'.Ludovic Courtès 2014-06-29Add Cyrill to AUTHORS.Ludovic Courtès