guix-play/etc/guix-daemon.service.in
Ricardo Wurmus 2517a7b3e2
Set "GUIX_LOCPATH" in 'guix-daemon.service'.
Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>.

* etc/guix-daemon.service.in (Environment): New value.
2016-07-18 06:56:29 +02:00

20 lines
544 B
SYSTEMD

# This is a "service unit file" for the systemd init system to launch
# 'guix-daemon'. Drop it in /etc/systemd/system or similar to have
# 'guix-daemon' automatically started.
[Unit]
Description=Build daemon for GNU Guix
[Service]
ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild
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