diff options
author | Florian Klink <flokli@flokli.de> | 2023-04-05 21:56:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 21:56:33 +0200 |
commit | aa158ed243070fc43a997b319b2e86e698c82ed7 (patch) | |
tree | aed25006a3a0a763a9fe6225f9a0f0177d8b5647 | |
parent | 2e724a1a37add2b60518b259cd7db635f26205f5 (diff) | |
parent | 8225d6db3a7921893c212ae2d93e657483cd74cb (diff) | |
download | nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar.gz nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar.bz2 nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar.lz nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar.xz nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.tar.zst nixpkgs-aa158ed243070fc43a997b319b2e86e698c82ed7.zip |
Merge pull request #219496 from f2k1de/smokeping-css-js-fix
smokeping: fix css and js symlink
-rw-r--r-- | nixos/modules/services/networking/smokeping.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/smokeping.nix b/nixos/modules/services/networking/smokeping.nix index 131699883ff..c2c2a370cb0 100644 --- a/nixos/modules/services/networking/smokeping.nix +++ b/nixos/modules/services/networking/smokeping.nix @@ -341,6 +341,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} |