1
0
Fork 0

Try saver miniflux password

This commit is contained in:
Malte 2023-01-31 02:51:54 +01:00
parent 57f0140ea3
commit 499460b1a9
2 changed files with 3 additions and 3 deletions

View file

@ -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"}"];
};
};
};

@ -1 +1 @@
Subproject commit 131025521424f191b12c66e594a9a89ac0a43690
Subproject commit ea5c59c88c6a963fed4a31b6a3c31b424c4ae091