diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-01-23 09:47:22 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-03-26 17:57:45 +0100 |
| commit | 107eb8ee8f5f9192c795abeb47885b49a57bacd4 (patch) | |
| tree | f79f2c3ffab1d14b090430b1547e39d4915e3379 /etc/gnu-store.mount.in | |
| parent | 2f65438eba584c5c0181af917445bb6025d3d0c8 (diff) | |
etc: systemd services: Run ‘guix-daemon’ as an unprivileged user.
* etc/guix-daemon.service.in (ExecStart): Remove ‘--build-users-group’.
(Environment): Add ‘GUIX_STATE_DIRECTORY’.
(Before, User, AmbientCapabilities, PrivateMounts, BindPaths): New fields.
* etc/gnu-store.mount.in (Before): Remove.
(WantedBy): Change to ‘multi-user.target’.
Change-Id: Id826b8ab535844b6024d777f6bd15fd49db6d65e
Diffstat (limited to 'etc/gnu-store.mount.in')
| -rw-r--r-- | etc/gnu-store.mount.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/gnu-store.mount.in b/etc/gnu-store.mount.in index c94f2db72be..f9918c9e52e 100644 --- a/etc/gnu-store.mount.in +++ b/etc/gnu-store.mount.in | |||
| @@ -2,10 +2,9 @@ | |||
| 2 | Description=Read-only @storedir@ for GNU Guix | 2 | Description=Read-only @storedir@ for GNU Guix |
| 3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
| 4 | ConditionPathExists=@storedir@ | 4 | ConditionPathExists=@storedir@ |
| 5 | Before=guix-daemon.service | ||
| 6 | 5 | ||
| 7 | [Install] | 6 | [Install] |
| 8 | WantedBy=guix-daemon.service | 7 | WantedBy=multi-user.target |
| 9 | 8 | ||
| 10 | [Mount] | 9 | [Mount] |
| 11 | What=@storedir@ | 10 | What=@storedir@ |
