guix-daemon.in 1.2 KB

1234567891011121314151617181920212223242526272829
  1. #!/sbin/openrc-run
  2. # GNU Guix --- Functional package management for GNU
  3. # Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
  4. #
  5. # This file is part of GNU Guix.
  6. #
  7. # GNU Guix is free software; you can redistribute it and/or modify it
  8. # under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation; either version 3 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # GNU Guix is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. export GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale
  20. export LC_ALL=en_US.utf8
  21. command="@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon"
  22. command_args="--build-users-group=guixbuild --discover=no"
  23. command_background="yes"
  24. pidfile="/var/run/guix-daemon.pid"
  25. output_log="/var/log/guix-daemon-stdout.log"
  26. error_log="/var/log/guix-daemon-stderr.log"