mbox

[bug#39329,v4,0/2] Start guix-daemon on SysV.

Message ID 20200128173858.14978-1-dannym@scratchpost.org
Headers show

Message

Danny Milosavljevic Jan. 28, 2020, 5:38 p.m. UTC
Danny Milosavljevic (2):
  Add system start-up files for guix-daemon.
  guix-install.sh: Install SysV init script.

 .gitignore                |  1 +
 etc/guix-install.sh       | 11 ++++++
 etc/init.d/guix-daemon.in | 78 +++++++++++++++++++++++++++++++++++++++
 nix/local.mk              | 16 +++++++-
 4 files changed, 104 insertions(+), 2 deletions(-)
 create mode 100644 etc/init.d/guix-daemon.in

Comments

Danny Milosavljevic March 11, 2020, 1:49 a.m. UTC | #1
It might make sense not to use pid files here but to actually test whether the
socket /var/guix/daemon-socket/socket works.

No idea how to do that with just bash.  It would be easy in Python.

Committed v4 to guix master as commits 73fbe04107d38f4561636c74d28d7a4935cbb1ef
and fe60ef998f537e0e71bbb3377d5886ad297821d0.