mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
nixos/searx: move network.target from wantedBy to after
In623664e84fthis part was refactored, however network.target does not make sense in wantedBy and must be part of after. (cherry picked from commitbcc1b762e9)
This commit is contained in:
committed by
github-actions[bot]
parent
7be782abaf
commit
1c87566236
@@ -252,12 +252,12 @@ in
|
||||
|
||||
systemd.services.searx = mkIf (!cfg.runInUwsgi) {
|
||||
description = "Searx server, the meta search engine.";
|
||||
wantedBy = [
|
||||
"network.target"
|
||||
"multi-user.target"
|
||||
];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "searx-init.service" ];
|
||||
after = [ "searx-init.service" ];
|
||||
after = [
|
||||
"searx-init.service"
|
||||
"network.target"
|
||||
];
|
||||
serviceConfig =
|
||||
{
|
||||
User = "searx";
|
||||
|
||||
Reference in New Issue
Block a user