2015-07-15 17:13:16 +02:00
|
|
|
# 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]
|
2018-10-21 22:22:13 +02:00
|
|
|
ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
|
2019-05-13 23:42:09 +02:00
|
|
|
Environment=GUIX_LOCPATH='@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
|
2015-07-15 17:13:16 +02:00
|
|
|
RemainAfterExit=yes
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
|
2016-04-25 14:49:58 +02:00
|
|
|
# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
|
2017-04-22 19:33:03 +02:00
|
|
|
# Some package builds (for example, go@1.8.1) may require even more than
|
|
|
|
# 1024 tasks.
|
|
|
|
TasksMax=8192
|
2016-04-25 14:49:58 +02:00
|
|
|
|
2015-07-15 17:13:16 +02:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|