Systemd timmer runner
deploy config / Explore-Gitea-Actions (push) Successful in 23s
Details
deploy config / Explore-Gitea-Actions (push) Successful in 23s
Details
This commit is contained in:
parent
790fe202c5
commit
49b82429f7
|
|
@ -100,6 +100,26 @@
|
|||
acceptTerms = true;
|
||||
defaults.email = "gentoo@blubb.fish";
|
||||
};
|
||||
|
||||
systemd = {
|
||||
timers."start-runner" = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
Unit = "start-runner.service";
|
||||
};
|
||||
};
|
||||
services."start-runner" = {
|
||||
script = ''
|
||||
/root/runner/act_runner daemon &
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "root";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# leave installation default
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
|
|
|||
Loading…
Reference in New Issue