bvm-twitterchiver: add twitterchiver-{relatedfetcher,archiver}
This commit is contained in:
parent
3d475e0efe
commit
bab069b286
1 changed files with 22 additions and 0 deletions
|
@ -53,6 +53,28 @@ in {
|
|||
Restart = "always";
|
||||
};
|
||||
};
|
||||
systemd.services.twitterchiver-relatedfetcher = {
|
||||
description = "Twitterchiver Related-Fetcher";
|
||||
wants = ["network-online.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${depot.go.twitterchiver.relatedfetcher}/bin/relatedfetcher --media_work_at_once 100 --media_tick_interval 10s";
|
||||
EnvironmentFile = secrets.twitterchiver.environment;
|
||||
User = "twitterchiver";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
systemd.services.twitterchiver-archiver = {
|
||||
description = "Twitterchiver Archiver";
|
||||
wants = ["network-online.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${depot.go.twitterchiver.archiver}/bin/archiver";
|
||||
EnvironmentFile = secrets.twitterchiver.environment;
|
||||
User = "twitterchiver";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue