guix-daemon.service.in 740 B

12345678910111213141516171819202122
  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. [Unit]
  5. Description=Build daemon for GNU Guix
  6. [Service]
  7. ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
  8. Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
  9. RemainAfterExit=yes
  10. StandardOutput=syslog
  11. StandardError=syslog
  12. # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
  13. # Some package builds (for example, go@1.8.1) may require even more than
  14. # 1024 tasks.
  15. TasksMax=8192
  16. [Install]
  17. WantedBy=multi-user.target