summary refs log tree commit diff
diff options
context:
space:
mode:
-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