fix(ntfy-notify): use --from-config flag for multi-topic subscribe
ntfy v2.26.0+ requires 'ntfy subscribe --from-config' to read subscriptions from client.yml. Without it, the service fails with: 'must specify topic, type ntfy subscribe --help for help' Ref: https://docs.ntfy.sh/subscribe/cli/#subscribe-to-multiple-topics
This commit is contained in:
@@ -71,7 +71,7 @@ in
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe";
|
||||
ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe --from-config";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 10;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user