# This is a "service unit file" for the systemd init system to launch # 'guix publish'. Drop it in /etc/systemd/system or similar to have # 'guix publish' automatically started. [Unit] Description=Publish the GNU Guix store Requires=guix-daemon.service PartOf=guix-daemon.service After=guix-daemon.service [Service] ExecStart=/usr/bin/guix publish --user=nobody --port=8181 Environment=LC_ALL=C.UTF-8 StandardOutput=journal StandardError=journal # Despite the name, this is rate-limited: a broken daemon will eventually fail. Restart=always # See . TasksMax=1024 [Install] WantedBy=multi-user.target