Commit | Line | Data |
---|---|---|
332d7903 HG |
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 | ||
5 | [Unit] | |
6 | Description=Publish the GNU Guix store | |
7 | ||
8 | [Service] | |
613d0895 | 9 | ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix publish --user=nobody --port=8181 |
332d7903 HG |
10 | Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale |
11 | RemainAfterExit=yes | |
12 | StandardOutput=syslog | |
13 | StandardError=syslog | |
14 | ||
15 | # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>. | |
16 | TasksMax=1024 | |
17 | ||
18 | [Install] | |
19 | WantedBy=multi-user.target |