diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-15 17:13:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-15 23:57:01 +0200 |
commit | d2825c96141c7b6844d9e04f982919c0509165e1 (patch) | |
tree | 9acde9173ef7d8888468954a00a420a3b139ebfa /etc | |
parent | 64720891ae7edc33f963651c5ba2509513b1849a (diff) | |
download | guix-d2825c96141c7b6844d9e04f982919c0509165e1.tar.gz guix-d2825c96141c7b6844d9e04f982919c0509165e1.zip |
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'.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/guix-daemon.service.in | 15 |
1 files changed, 15 insertions, 0 deletions
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 |