Skip to content

Commit

Permalink
graylog: fix plugin installation at service startup
Browse files Browse the repository at this point in the history
  • Loading branch information
fadenb committed Dec 1, 2016
1 parent b657299 commit 321a891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/logging/graylog.nix
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ in
preStart = ''
mkdir -p /var/lib/graylog -m 755
mkdir -p /var/lib/graylog/plugins -m 755
#ln -sfT ${glPlugins}/bin /var/lib/graylog/plugins
for declarativeplugin in `ls ${glPlugins}/bin/`; do
ln -s ${glPlugins}/bin/$declarativeplugin /var/lib/graylog/plugins/$declarativeplugin
ln -sf ${glPlugins}/bin/$declarativeplugin /var/lib/graylog/plugins/$declarativeplugin
done
for includedplugin in `ls ${cfg.package}/plugin/`; do
ln -s ${cfg.package}/plugin/$includedplugin /var/lib/graylog/plugins/$includedplugin || true
Expand Down

0 comments on commit 321a891

Please sign in to comment.