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] | |
4cbe0127 MC |
9 | ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon \ |
10 | --build-users-group=guixbuild --discover=no | |
579d17b7 | 11 | Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8 |
d2825c96 LC |
12 | RemainAfterExit=yes |
13 | StandardOutput=syslog | |
14 | StandardError=syslog | |
15 | ||
f489ce3c | 16 | # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>. |
644f9511 ST |
17 | # Some package builds (for example, go@1.8.1) may require even more than |
18 | # 1024 tasks. | |
19 | TasksMax=8192 | |
f489ce3c | 20 | |
d2825c96 LC |
21 | [Install] |
22 | WantedBy=multi-user.target |