mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
home-manager/services: update dependency settings for network-dependent services
This commit is contained in:
parent
39cc3b50d6
commit
60e40a2073
@ -113,7 +113,7 @@ in
|
||||
Unit = {
|
||||
Description =
|
||||
"Archivebox archive group '${name}' for ${cfg.archivePath}";
|
||||
After = "network.target";
|
||||
After = [ "network-online.target" ];
|
||||
Documentation = [ "https://docs.archivebox.io/" ];
|
||||
};
|
||||
|
||||
@ -142,7 +142,8 @@ in
|
||||
archivebox-server = {
|
||||
Unit = {
|
||||
Description = "Archivebox server for ${cfg.archivePath}";
|
||||
After = "network.target";
|
||||
After = [ "network-online.target" ];
|
||||
Wants = [ "network-online.target" ];
|
||||
Documentation = [ "https://docs.archivebox.io/" ];
|
||||
};
|
||||
|
||||
@ -164,7 +165,8 @@ in
|
||||
lib.nameValuePair (jobUnitName name) {
|
||||
Unit = {
|
||||
Description = "Archivebox additions for ${cfg.archivePath}";
|
||||
After = "network.target";
|
||||
After = [ "network-online.target" ];
|
||||
Wants = [ "network-online.target" ];
|
||||
Documentation = [ "https://docs.archivebox.io/" ];
|
||||
};
|
||||
|
||||
|
@ -40,7 +40,7 @@ in
|
||||
Unit = {
|
||||
Description = "Gonic media server";
|
||||
Documentation = [ "https://github.com/sentriz/gonic/wiki" ];
|
||||
After = [ "network.target" ];
|
||||
After = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
|
@ -59,6 +59,8 @@ in
|
||||
Unit = {
|
||||
Description = "Matcha periodic feed digest generator";
|
||||
Documentation = [ "https://github.com/piqoni/matcha" ];
|
||||
After = [ "network-online.target" ];
|
||||
Wants = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
@ -73,7 +75,6 @@ in
|
||||
Unit = {
|
||||
Description = "Matcha periodic feed digest generator";
|
||||
Documentation = [ "https://github.com/piqoni/matcha" ];
|
||||
After = [ "network.target" ];
|
||||
};
|
||||
Install.WantedBy = [ "timers.target" ];
|
||||
Timer = {
|
||||
|
Loading…
Reference in New Issue
Block a user