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/guix-daemon.service.in | |
| parent | 64720891ae7edc33f963651c5ba2509513b1849a (diff) | |
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/guix-daemon.service.in')
| -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 00000000000..28ef0009205 --- /dev/null +++ b/etc/guix-daemon.service.in | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # This is a "service unit file" for the systemd init system to launch | ||
| 2 | # 'guix-daemon'. Drop it in /etc/systemd/system or similar to have | ||
| 3 | # 'guix-daemon' automatically started. | ||
| 4 | |||
| 5 | [Unit] | ||
| 6 | Description=Build daemon for GNU Guix | ||
| 7 | |||
| 8 | [Service] | ||
| 9 | ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild | ||
| 10 | RemainAfterExit=yes | ||
| 11 | StandardOutput=syslog | ||
| 12 | StandardError=syslog | ||
| 13 | |||
| 14 | [Install] | ||
| 15 | WantedBy=multi-user.target | ||
