summaryrefslogtreecommitdiff
path: root/etc/guix-daemon.service.in
AgeCommit message (Collapse)Author
2024-03-11etc: systemd services: switch to "journal" for output and error logging.Vagrant Cascadian
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.
2022-10-23etc: systemd services shouldn't ‘RemainAfterExit’.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (RemainAfterExit): Don't. * etc/guix-publish.service.in (RemainAfterExit): Likewise don't.
2022-10-23etc: Add ‘Restart=always’ to both systemd services.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (Restart): ‘Always’ do. * etc/guix-publish.service.in (Restart): Likewise.
2022-10-23etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (OOMPolicy): Continue.
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery.Maxim Cournoyer
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.
2019-06-05etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.Jack Hill
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>
2019-05-13Set 'LC_ALL=en_US.utf8' in systemd '.service' files.Ludovic Courtès
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.
2018-11-23build: Binary tarball now populates the "current-guix" profile.Ludovic Courtès
* 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.
2017-04-22Increase "TasksMax" in 'guix-daemon.service'.Sergei Trofimovich
* etc/guix-daemon.service.in (TasksMax): Increase to 8192. Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-06build: Don't embed absolute paths in .service and .conf service files.Leo Famulari
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@.
2016-07-18Set "GUIX_LOCPATH" in 'guix-daemon.service'.Ricardo Wurmus
Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>. * etc/guix-daemon.service.in (Environment): New value.
2016-04-25Add "TasksMax=1024" in 'guix-daemon.service'.Ludovic Courtès
Suggested by Joram Schrijver <i+guix-devel@joram.io>. * etc/guix-daemon.service.in (TasksMax): New value.
2015-07-15Add 'guix-daemon.service' file for systemd.Ludovic Courtès
* 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'.