Compare commits
No commits in common. "59b281f984c5d383c81dbe66ca419827445eab76" and "27b7e295f7a8dac06eb8cf8c71bfbf2015016492" have entirely different histories.
59b281f984
...
27b7e295f7
1 changed files with 0 additions and 19 deletions
|
@ -38,23 +38,4 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
systemd = {
|
|
||||||
services.register-thing = {
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
User = "maintainer";
|
|
||||||
ExecStart = "/home/maintainer/register-thing/thing";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
timers.register-thing = {
|
|
||||||
wantedBy = ["timers.target"];
|
|
||||||
timerConfig = {
|
|
||||||
OnUnitActiveSec = "1m";
|
|
||||||
RandomizedDelaySec = "1m";
|
|
||||||
Unit = "register-thing";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue