From 18bf4901d6b1adca89de1328b93653b70b19a3ad Mon Sep 17 00:00:00 2001 From: Richard Carter Date: Thu, 9 May 2024 08:43:24 -0400 Subject: [PATCH] remove commented-out sabnzbd ExecStartPost script --- nixarr/sabnzbd/default.nix | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/nixarr/sabnzbd/default.nix b/nixarr/sabnzbd/default.nix index edcb43b..d31c836 100644 --- a/nixarr/sabnzbd/default.nix +++ b/nixarr/sabnzbd/default.nix @@ -187,29 +187,6 @@ in { } + "/bin/set-sabnzbd-ini-values" ) ]; - - # ExecStartPost = mkBefore [ - # ( - # "+" + pkgs.writeShellApplication { - # name = "ensure-sabnzbd-config-edits"; - # runtimeInputs = with pkgs; [initool coreutils systemd]; - # text = '' - # until [ -f "${cfg.stateDir}/sabnzbd.ini" ] - # do - # sleep 1 - # done - # - # if ! initool get "${cfg.stateDir}/sabnzbd.ini" "" __comment__; then - # # force sabnzbd.service restart for ExecStartPre to run now - # # that sabnzbd.ini has been created by the instance - # systemctl restart -f sabnzbd.service - # fi - # - # exit - # ''; - # } + "/bin/ensure-sabnzbd-config-edits" - # ) - # ]; Restart = "on-failure"; StartLimitInterval = 15; StartLimitBurst = 5;