Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
guix/gnu
Christopher Baines 6230e155af
gnu: Fix memcached service startup.
Memcached changes to the memcached user from root before writing the PID
file. This means that it must be able to write the PID file as the memcached
user.

To make this work, create the /var/run/memcached directory when the service
starts, make it owned by memcached, and change memcached to write the PID file
to /var/run/memcached/pid.

This wasn't picked up by the system test as the "service running" part was too
permissive, and only failed on an error. Instead, test the response from
calling start-service and check that the PID is a number.

* gnu/services/databases.scm (memcached-activation): New variable.
  (memcached-shepherd-service): Change PID file location.
  (memcached-service-type): Extend the activation-service-type.
* gnu/tests/databases.scm (run-memcached-test)[test]: Change the "service
  running" test to check the response from the shepherd.
2017-08-15 22:24:15 +01:00
..
bootloader vm: Use grub-hybrid's grub-mkrescue. 2017-08-03 18:13:03 +02:00
build build: Allow mounting of entire disks. 2017-08-05 18:49:33 +02:00
packages gnu: Add dssi. 2017-08-15 20:58:03 +02:00
services gnu: Fix memcached service startup. 2017-08-15 22:24:15 +01:00
system vm: Use grub-hybrid's grub-mkrescue. 2017-08-03 18:13:03 +02:00
tests gnu: Fix memcached service startup. 2017-08-15 22:24:15 +01:00
artwork.scm artwork: Use a descriptive name for the source directory. 2017-06-07 15:58:16 -04:00
bootloader.scm bootloader: Use <menu-entry> for the bootloader side. 2017-07-28 21:56:18 +02:00
local.mk gnu: bcftools: Fix building on aarch64. 2017-08-15 10:31:20 +03:00
packages.scm packages: Add 'specifications->manifest'. 2017-06-11 23:05:23 +02:00
services.scm services: Make error message less scary. 2017-07-11 00:48:50 +02:00
system.scm bootloader: Use <menu-entry> for the bootloader side. 2017-07-28 21:56:18 +02:00
tests.scm bootloader: Add extlinux support. 2017-05-16 14:41:01 +02:00