diff options
| author | Marius Bakke | 2016-11-30 18:24:32 +0100 |
|---|---|---|
| committer | Marius Bakke | 2016-11-30 18:24:32 +0100 |
| commit | 8a7cbc882a75d7f9f1fe960552dea47acf347b0a (patch) | |
| tree | ded8c9116d357b38fd23b8c0cc312863fe68c9b5 /etc/guix-publish.service.in | |
| parent | 3084a9908434e4e7123d2fd3881c798977abedb9 (diff) | |
| parent | 72f0c5ea3c0272a93436ad3c04a281d1237a9593 (diff) | |
Merge branch 'master' into staging
Diffstat (limited to 'etc/guix-publish.service.in')
| -rw-r--r-- | etc/guix-publish.service.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in new file mode 100644 index 000000000..fc4e3c21f --- /dev/null +++ b/etc/guix-publish.service.in @@ -0,0 +1,19 @@ +# 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 + +[Service] +ExecStart=@bindir@/guix publish --user=nobody --port=8181 +Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale +RemainAfterExit=yes +StandardOutput=syslog +StandardError=syslog + +# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>. +TasksMax=1024 + +[Install] +WantedBy=multi-user.target |