Skip to content

Commit 1e0217b

Browse files
nixos/soft-serve: restart trigger added (#384829)
Previously changing configuration did not apply to the running service requiring it to be restarted manually. This fixes that issue.
1 parent 3c80cf2 commit 1e0217b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

nixos/doc/manual/release-notes/rl-2505.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@
544544

545545
- `services.gitea` now supports CAPTCHA usage through the `services.gitea.captcha` variable.
546546

547+
- `services.soft-serve` now restarts upon config change.
548+
547549
- `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries.
548550

549551
- [`services.mongodb.enableAuth`](#opt-services.mongodb.enableAuth) now uses the newer [mongosh](https://github.com/mongodb-js/mongosh) shell instead of the legacy shell to configure the initial superuser. You can configure the mongosh package to use through the [`services.mongodb.mongoshPackage`](#opt-services.mongodb.mongoshPackage) option.

nixos/modules/services/misc/soft-serve.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ in
5959

6060
environment.SOFT_SERVE_DATA_PATH = stateDir;
6161

62+
restartTriggers = [ configFile ];
63+
6264
serviceConfig = {
6365
Type = "simple";
6466
DynamicUser = true;

0 commit comments

Comments
 (0)