gnu: emacs-pyim: Update to 3.8.3.
[jackhill/guix/guix.git] / etc / guix-publish.service.in
index 8aaf09e..78f0471 100644 (file)
@@ -4,10 +4,13 @@
 
 [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/guix-profile/bin/guix publish --user=nobody --port=8181
-Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
+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