aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-daemon.service.in
Commit message (Collapse)AuthorAge
* etc: Add explicit ‘--substitute-urls’ in guix-daemon service files.Ludovic Courtès2024-06-26
| | | | | | | | | | | | | | | Having substitute URLs explicitly listed in the service startup file makes it clearer what should be modified to permanently change the list of substitute URLs. * config-daemon.ac: Rename ‘guix_substitute_urls’ to ‘GUIX_SUBSTITUTE_URLS’ and substitute it. * nix/local.mk (etc/guix-%.service, etc/init.d/guix-daemon) (etc/guix-%.conf): Substitute it. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/init.d/guix-daemon.in: Add an explicit ‘--substitute-urls’ option. Change-Id: Ie491b7fab5c42e54dca582801c03805a85de2bf9
* etc: systemd services: switch to "journal" for output and error logging.Vagrant Cascadian2024-03-11
| | | | | | | | | | | | | | | The "syslog" method has been deprecated for years, and issues a warning: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. Fixes: #48323 * etc/guix-daemon.service.in (StandardOutput): Use "journal" (StandardError): Likewise. * etc/guix-publish.service.in (StandardOutput): Likewise. (StandardError): Likewise.
* etc: systemd services shouldn't ‘RemainAfterExit’.Tobias Geerinckx-Rice2022-10-23
| | | | | * etc/guix-daemon.service.in (RemainAfterExit): Don't. * etc/guix-publish.service.in (RemainAfterExit): Likewise don't.
* etc: Add ‘Restart=always’ to both systemd services.Tobias Geerinckx-Rice2022-10-23
| | | | | * etc/guix-daemon.service.in (Restart): ‘Always’ do. * etc/guix-publish.service.in (Restart): Likewise.
* etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.Tobias Geerinckx-Rice2022-10-23
| | | | * etc/guix-daemon.service.in (OOMPolicy): Continue.
* guix-install.sh: Prompt for configuring substitutes discovery.Maxim Cournoyer2021-07-07
| | | | | | | | | | | | | | | | Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news.
* etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.Jack Hill2019-06-05
| | | | | | | | | Fixes <https://bugs.gnu.org/36074>. * etc/guix-daemon.service.in: Move the GUIX_LOCPATH environment variable name inside the quotes. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* Set 'LC_ALL=en_US.utf8' in systemd '.service' files.Ludovic Courtès2019-05-13
| | | | | | | | Fixes <https://bugs.gnu.org/35671>. * etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH' value; add 'LC_ALL'. * etc/guix-publish.service.in (Environment): Likewise.
* build: Binary tarball now populates the "current-guix" profile.Ludovic Courtès2018-11-23
| | | | | | | | | | | | * Makefile.am (guix-binary.%.tar.xz): Pass '--profile-name=current-guix'. Remove glibc and glibc-utf8-locales. * doc/guix.texi (Binary Installation): Update accordingly. * etc/guix-install.sh * etc/guix-install.sh (sys_create_store, sys_enable_guix_daemon) (sys_authorize_build_farms): Likewise. * etc/guix-publish.conf.in, etc/guix-publish.service.in, etc/guix-daemon.conf.in, etc/guix-daemon.service.in: Update file names accordingly.
* Increase "TasksMax" in 'guix-daemon.service'.Sergei Trofimovich2017-04-22
| | | | | | * etc/guix-daemon.service.in (TasksMax): Increase to 8192. Signed-off-by: Leo Famulari <leo@famulari.name>
* build: Don't embed absolute paths in .service and .conf service files.Leo Famulari2017-03-06
| | | | | | | | | | Otherwise, users will be stuck running an old copy of guix and the guix-daemon if they copy the service files instead of symlinking them. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/guix-publish.conf.in, etc/guix-publish.service.in: Expand @localstatedir@ instead of @bindir@. * nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use @localstatedir@ instead of @bindir@.
* Set "GUIX_LOCPATH" in 'guix-daemon.service'.Ricardo Wurmus2016-07-18
| | | | | | Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>. * etc/guix-daemon.service.in (Environment): New value.
* Add "TasksMax=1024" in 'guix-daemon.service'.Ludovic Courtès2016-04-25
| | | | | | Suggested by Joram Schrijver <i+guix-devel@joram.io>. * etc/guix-daemon.service.in (TasksMax): New value.
* Add 'guix-daemon.service' file for systemd.Ludovic Courtès2015-07-15
* etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus. * daemon.am (CLEANFILES): Add etc/guix-daemon.service. (systemdservicedir, nodist_systemdservice_DATA): New variables. (EXTRA_DIST): Add etc/guix-daemon.service.in. * doc/guix.texi (Binary Installation, Build Environment Setup): Mention 'guix-daemon.service'.