only output the plugin copy loop if plugins are enabled
This commit is contained in:
parent
d7cebeac87
commit
7d2e9fc0a9
1 changed files with 5 additions and 3 deletions
|
@ -2486,9 +2486,11 @@ in
|
|||
# Update the plugins
|
||||
mkdir -p plugins
|
||||
rm -rf plugins/*.jar
|
||||
${if cfg.plugins == [] then "" else ''
|
||||
for f in ${builtins.toString cfg.plugins}; do
|
||||
cp $f plugins
|
||||
done
|
||||
''}
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
Loading…
Reference in a new issue