diff --git a/server/configuration.org b/server/configuration.org index 46cca16..0f9d9dc 100644 --- a/server/configuration.org +++ b/server/configuration.org @@ -907,36 +907,38 @@ in [ myPkg ]; overrideStrategy = "asDropin"; wantedBy = [ "multi-user.target" ]; }; - sub-sync = { - restartIfChanged = true; - description = "syncronizes subtitles downloaded & modified today"; - wantedBy = [ "multi-user.target" ]; - path = [ - pkgs.bash - pkgs.fd - pkgs.ripgrep - pkgs.file - pkgs.alass - pkgs.ffmpeg - pkgs.gum - jawzSubs - ]; - serviceConfig = { - Restart = "on-failure"; - RestartSec = 30; - ExecStart = "${jawzSubs}/bin/sub-sync all"; - }; - }; + # sub-sync = { + # restartIfChanged = true; + # description = "syncronizes subtitles downloaded & modified today"; + # wantedBy = [ "default.target" ]; + # path = [ + # pkgs.bash + # pkgs.fd + # pkgs.ripgrep + # pkgs.file + # pkgs.alass + # pkgs.ffmpeg + # pkgs.gum + # jawzSubs + # ]; + # serviceConfig = { + # Restart = "on-failure"; + # RestartSec = 30; + # ExecStart = "${jawzSubs}/bin/sub-sync all"; + # Type = "forking"; + # User = "root"; + # }; + # }; }; timers = { - sub-sync = { - enable = true; - description = "syncronizes subtitles downloaded & modified today"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "22:00"; - }; - }; + # sub-sync = { + # enable = true; + # description = "syncronizes subtitles downloaded & modified today"; + # wantedBy = [ "timers.target" ]; + # timerConfig = { + # OnCalendar = "22:00"; + # }; + # }; }; user = { services = {