guix-daemon.service.in 760 B

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