Skip to content

Commit

Permalink
removing config generation
Browse files Browse the repository at this point in the history
  • Loading branch information
tanneberger committed May 21, 2024
1 parent 012fed7 commit 2783b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,9 @@ in
path = [ pkgs.rrdtool ];
startAt = "*:0/1";
preStart = ''
${artisanWrapper}/bin/ixp-manager-artisan grapher:generate-configuration -B mrtg -O /var/lib/mrtg/ixpmanager.cfg
sed -i '/RunAsDaemon/d' /var/lib/mrtg/ixpmanager.cfg
echo "LibAdd: ${pkgs.rrdtool}/lib/perl5/site_perl" >> /var/lib/mrtg/ixpmanager.cfg
#${artisanWrapper}/bin/ixp-manager-artisan grapher:generate-configuration -B mrtg -O /var/lib/mrtg/ixpmanager.cfg
#sed -i '/RunAsDaemon/d' /var/lib/mrtg/ixpmanager.cfg
#echo "LibAdd: ${pkgs.rrdtool}/lib/perl5/site_perl" >> /var/lib/mrtg/ixpmanager.cfg
'';
serviceConfig = {
Type = "simple";
Expand Down

0 comments on commit 2783b6b

Please sign in to comment.