summaryrefslogtreecommitdiff
path: root/etc/guix-publish.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/guix-publish.service.in')
-rw-r--r--etc/guix-publish.service.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in
index 78f04714eb..b8fd3b4c03 100644
--- a/etc/guix-publish.service.in
+++ b/etc/guix-publish.service.in
@@ -11,10 +11,12 @@ After=guix-daemon.service
[Service]
ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181
Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
-RemainAfterExit=yes
StandardOutput=syslog
StandardError=syslog
+# Despite the name, this is rate-limited: a broken daemon will eventually fail.
+Restart=always
+
# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
TasksMax=1024