Switch timers for "startAt" in fieldseeker-sync services
I'm trying to troubleshoot why I always have time out on these services when I run nixos-rebuild. Simplification is a plus as well.
This commit is contained in:
parent
b0e373932e
commit
7acb0fd016
1 changed files with 12 additions and 40 deletions
|
|
@ -63,6 +63,7 @@ in {
|
|||
PrivateTmp = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
};
|
||||
startAt = "*:0/15";
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.services.fieldseeker-sync-gleipnir-audio-post-processor = {
|
||||
|
|
@ -81,6 +82,7 @@ in {
|
|||
PrivateTmp = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
};
|
||||
startAt = "*:0/15";
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.services.fieldseeker-sync-export = {
|
||||
|
|
@ -91,14 +93,15 @@ in {
|
|||
stopIfChanged = false;
|
||||
serviceConfig = {
|
||||
EnvironmentFile="/var/run/secrets/fieldseeker-sync-env";
|
||||
ExecStart = "${src}/bin/full-export";
|
||||
Group = "fieldseeker-sync";
|
||||
PrivateTmp = true;
|
||||
TimeoutStopSec = "5s";
|
||||
Type = "oneshot";
|
||||
User = "fieldseeker-sync";
|
||||
Group = "fieldseeker-sync";
|
||||
ExecStart = "${src}/bin/full-export";
|
||||
TimeoutStopSec = "5s";
|
||||
PrivateTmp = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
};
|
||||
startAt = "*:0/15";
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.services.fieldseeker-sync-gleipnir-export = {
|
||||
|
|
@ -109,14 +112,15 @@ in {
|
|||
stopIfChanged = false;
|
||||
serviceConfig = {
|
||||
EnvironmentFile="/var/run/secrets/fieldseeker-sync-gleipnir-env";
|
||||
ExecStart = "${src}/bin/full-export";
|
||||
Group = "fieldseeker-sync";
|
||||
PrivateTmp = true;
|
||||
TimeoutStopSec = "5s";
|
||||
Type = "oneshot";
|
||||
User = "fieldseeker-sync";
|
||||
Group = "fieldseeker-sync";
|
||||
ExecStart = "${src}/bin/full-export";
|
||||
TimeoutStopSec = "5s";
|
||||
PrivateTmp = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
};
|
||||
startAt = "*:0/15";
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.services.fieldseeker-sync-migrate = {
|
||||
|
|
@ -187,38 +191,6 @@ in {
|
|||
};
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.timers.fieldseeker-sync-audio-post-processor = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnBootSec = "15m";
|
||||
OnUnitActiveSec = "15m";
|
||||
Unit = "fieldseeker-sync-audio-post-processor.service";
|
||||
};
|
||||
};
|
||||
systemd.timers.fieldseeker-sync-gleipnir-audio-post-processor = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnBootSec = "15m";
|
||||
OnUnitActiveSec = "15m";
|
||||
Unit = "fieldseeker-sync-gleipnir-audio-post-processor.service";
|
||||
};
|
||||
};
|
||||
systemd.timers.fieldseeker-sync-export = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnBootSec = "15m";
|
||||
OnUnitActiveSec = "15m";
|
||||
Unit = "fieldseeker-sync-export.service";
|
||||
};
|
||||
};
|
||||
systemd.timers.fieldseeker-sync-gleipnir-export = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnBootSec = "15m";
|
||||
OnUnitActiveSec = "15m";
|
||||
Unit = "fieldseeker-sync-gleipnir-export.service";
|
||||
};
|
||||
};
|
||||
users.groups.fieldseeker-sync = {};
|
||||
users.users.fieldseeker-sync = {
|
||||
group = "fieldseeker-sync";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue