guix-publish.service.in 653 B

1234567891011121314151617181920
  1. # This is a "service unit file" for the systemd init system to launch
  2. # 'guix publish'. Drop it in /etc/systemd/system or similar to have
  3. # 'guix publish' automatically started.
  4. [Unit]
  5. Description=Publish the GNU Guix store
  6. [Service]
  7. ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181
  8. Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
  9. RemainAfterExit=yes
  10. StandardOutput=syslog
  11. StandardError=syslog
  12. # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
  13. TasksMax=1024
  14. [Install]
  15. WantedBy=multi-user.target