Try saver miniflux password
This commit is contained in:
parent
57f0140ea3
commit
499460b1a9
|
@ -34,13 +34,13 @@ in {
|
|||
};
|
||||
};
|
||||
refresh-miniflux = {
|
||||
script = "${pkgs.curl}/bin/curl -X PUT -H \"X-AUTH-TOKEN: $(cat $CREDENTIALS_DIRECTORY/miniflux_token)\" hera.vpn.m-0.eu:8100/v1/feeds/refresh";
|
||||
script = "${pkgs.curl}/bin/curl -X PUT -H @$CREDENTIALS_DIRECTORY/auth-header hera.vpn.m-0.eu:8100/v1/feeds/refresh";
|
||||
after = ["mastodon-digest.service"];
|
||||
requires = ["mastodon-digest.service"];
|
||||
startAt = "20:00:00";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
LoadCredential = ["miniflux_token:${pkgs.privatePath "miniflux-refresh-token"}"];
|
||||
LoadCredential = ["auth-header:${pkgs.privatePath "miniflux-refresh-auth-header"}"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
|||
Subproject commit 131025521424f191b12c66e594a9a89ac0a43690
|
||||
Subproject commit ea5c59c88c6a963fed4a31b6a3c31b424c4ae091
|
Loading…
Reference in a new issue