Commit | Line | Data |
---|---|---|
d2825c96 LC |
1 | # This is a "service unit file" for the systemd init system to launch |
2 | # 'guix-daemon'. Drop it in /etc/systemd/system or similar to have | |
3 | # 'guix-daemon' automatically started. | |
4 | ||
5 | [Unit] | |
6 | Description=Build daemon for GNU Guix | |
7 | ||
8 | [Service] | |
613d0895 | 9 | ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild |
2517a7b3 | 10 | Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale |
d2825c96 LC |
11 | RemainAfterExit=yes |
12 | StandardOutput=syslog | |
13 | StandardError=syslog | |
14 | ||
f489ce3c | 15 | # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>. |
644f9511 ST |
16 | # Some package builds (for example, go@1.8.1) may require even more than |
17 | # 1024 tasks. | |
18 | TasksMax=8192 | |
f489ce3c | 19 | |
d2825c96 LC |
20 | [Install] |
21 | WantedBy=multi-user.target |