| 1 | # This is a "job" for the Upstart init system to launch 'guix-daemon'. |
| 2 | # Drop it in /etc/init to have 'guix-daemon' automatically started. |
| 3 | |
| 4 | description "Build daemon for GNU Guix" |
| 5 | |
| 6 | start on runlevel [2345] |
| 7 | |
| 8 | stop on runlevel [016] |
| 9 | |
| 10 | exec @localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild --discover=no --substitute-urls='@GUIX_SUBSTITUTE_URLS@' |