Cleanup systemd
deploy config / Explore-Gitea-Actions (push) Successful in 16s
Details
deploy config / Explore-Gitea-Actions (push) Successful in 16s
Details
This commit is contained in:
parent
abc5e04621
commit
6fe889bd1b
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue