From d2825c96141c7b6844d9e04f982919c0509165e1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 15 Jul 2015 17:13:16 +0200 Subject: Add 'guix-daemon.service' file for systemd. * 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'. --- etc/guix-daemon.service.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/guix-daemon.service.in (limited to 'etc') diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in new file mode 100644 index 0000000000..28ef000920 --- /dev/null +++ b/etc/guix-daemon.service.in @@ -0,0 +1,15 @@ +# This is a "service unit file" for the systemd init system to launch +# 'guix-daemon'. Drop it in /etc/systemd/system or similar to have +# 'guix-daemon' automatically started. + +[Unit] +Description=Build daemon for GNU Guix + +[Service] +ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild +RemainAfterExit=yes +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3