summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2021-02-09 15:10:52 +0100
committerLudovic Courtès <ludo@gnu.org>2021-02-09 23:38:33 +0100
commite342f89b4c0b08fa59093c091c725ac961d01c40 (patch)
treee155e4ff857ea434b6826737d0c6ce14680a5af7 /etc
parent5da7b2d05092829f922512a0674810f3895d88b3 (diff)
downloadguix-e342f89b4c0b08fa59093c091c725ac961d01c40.tar.gz
etc: 'guix-publish.service' depends on 'guix-daemon.service'.
Reported by Dimitri Delabroye <dimitri.delabroye@inria.fr>.

* etc/guix-publish.service.in (Requires, PartOf, After): New fields.
Diffstat (limited to 'etc')
-rw-r--r--etc/guix-publish.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in
index 2dc89ef600..78f04714eb 100644
--- a/etc/guix-publish.service.in
+++ b/etc/guix-publish.service.in
@@ -4,6 +4,9 @@
 
 [Unit]
 Description=Publish the GNU Guix store
+Requires=guix-daemon.service
+PartOf=guix-daemon.service
+After=guix-daemon.service
 
 [Service]
 ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181