gnu: pypy: Remove unused module imports.
[jackhill/guix/guix.git] / etc / guix-publish.service.in
CommitLineData
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]
6Description=Publish the GNU Guix store
e342f89b
LC
7Requires=guix-daemon.service
8PartOf=guix-daemon.service
9After=guix-daemon.service
332d7903
HG
10
11[Service]
e9926f80 12ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181
a5ca4a63 13Environment='GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
332d7903
HG
14RemainAfterExit=yes
15StandardOutput=syslog
16StandardError=syslog
17
18# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
19TasksMax=1024
20
21[Install]
22WantedBy=multi-user.target