Cleanup systemd
deploy config / Explore-Gitea-Actions (push) Successful in 16s Details

This commit is contained in:
Tom 2024-08-09 21:59:11 +02:00
parent abc5e04621
commit 6fe889bd1b
1 changed files with 16 additions and 15 deletions

View File

@ -82,22 +82,23 @@
qemuGuest.enable = true;
};
systemd.timers."start-runner" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "daily";
Persistent = true;
Unit = "start-runner.service";
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";
};
};
systemd.services."start-runner" = {
script = ''
/root/runner/act_runner daemon &
'';
serviceConfig = {
Type = "oneshot";
User = "root";
};
};