diff options
| author | Thiago Jung Bauermann <bauermann@kolabnow.com> | 2021-09-15 20:36:38 -0300 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-20 14:18:21 +0000 |
| commit | 5c4fd77097e2cecfd4780e099af7954f86779fe1 (patch) | |
| tree | a04414dfc0a56a01daf096c10aa9c52489281d5e /nix | |
| parent | cbb76da1f6fd9a27bb1826274493cc6f33000f18 (diff) | |
etc: Add systemd files for running ‘guix gc’ periodically
* etc/guix-gc.service.in: New file.
* etc/guix-gc.timer: Likewise.
* .gitignore: Ignore generated ‘guix-gc.service’.
* nix/local.mk (nodist_systemdservice_DATA): Add ‘guix-gc.service’ and
‘guix-gc.timer’.
(EXTRA_DIST): Add ‘guix-gc.service.in’ and ‘guix-gc.timer’.
* doc/guix.texi (Binary Installation): Mention the new systemd files.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/local.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nix/local.mk b/nix/local.mk index 7c438ea78c5..d6b4d7faeb6 100644 --- a/nix/local.mk +++ b/nix/local.mk | |||
| @@ -153,7 +153,9 @@ systemdservicedir = $(libdir)/systemd/system | |||
| 153 | nodist_systemdservice_DATA = \ | 153 | nodist_systemdservice_DATA = \ |
| 154 | etc/gnu-store.mount \ | 154 | etc/gnu-store.mount \ |
| 155 | etc/guix-daemon.service \ | 155 | etc/guix-daemon.service \ |
| 156 | etc/guix-publish.service | 156 | etc/guix-publish.service \ |
| 157 | etc/guix-gc.service \ | ||
| 158 | etc/guix-gc.timer | ||
| 157 | 159 | ||
| 158 | etc/%.mount: etc/%.mount.in \ | 160 | etc/%.mount: etc/%.mount.in \ |
| 159 | $(top_builddir)/config.status | 161 | $(top_builddir)/config.status |
| @@ -216,6 +218,8 @@ EXTRA_DIST += \ | |||
| 216 | etc/guix-daemon.conf.in \ | 218 | etc/guix-daemon.conf.in \ |
| 217 | etc/guix-publish.service.in \ | 219 | etc/guix-publish.service.in \ |
| 218 | etc/guix-publish.conf.in \ | 220 | etc/guix-publish.conf.in \ |
| 221 | etc/guix-gc.service.in \ | ||
| 222 | etc/guix-gc.timer \ | ||
| 219 | etc/init.d/guix-daemon.in \ | 223 | etc/init.d/guix-daemon.in \ |
| 220 | etc/openrc/guix-daemon.in | 224 | etc/openrc/guix-daemon.in |
| 221 | 225 | ||
