From 8225d6db3a7921893c212ae2d93e657483cd74cb Mon Sep 17 00:00:00 2001 From: Isa Date: Sat, 4 Mar 2023 14:39:43 +0100 Subject: [PATCH] smokeping: fix css and js symlink --- nixos/modules/services/networking/smokeping.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/networking/smokeping.nix b/nixos/modules/services/networking/smokeping.nix index 2e67f8b77c08..f0a310c6f9ac 100644 --- a/nixos/modules/services/networking/smokeping.nix +++ b/nixos/modules/services/networking/smokeping.nix @@ -339,6 +339,10 @@ in mkdir -m 0755 -p ${smokepingHome}/cache ${smokepingHome}/data rm -f ${smokepingHome}/cropper ln -s ${cfg.package}/htdocs/cropper ${smokepingHome}/cropper + rm -f ${smokepingHome}/css + ln -s ${cfg.package}/htdocs/css ${smokepingHome}/css + rm -f ${smokepingHome}/js + ln -s ${cfg.package}/htdocs/js ${smokepingHome}/js rm -f ${smokepingHome}/smokeping.fcgi ln -s ${cgiHome} ${smokepingHome}/smokeping.fcgi ${cfg.package}/bin/smokeping --check --config=${configPath}