Skip to content
This repository has been archived by the owner on Feb 7, 2021. It is now read-only.

Commit

Permalink
update module to setup a memory limit to dsc (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoltero authored May 25, 2020
1 parent 20a8ec3 commit 0857865
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
ensure => present,
content => template('dsc/lib/systemd/system/dsc-statistics-collector.service.erb'),
before => Service[$service],
}~> exec { 'dsc-systemd-reload':
command => 'systemctl daemon-reload',
path => [ '/bin', ],
refreshonly => true,
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=A DNS Statistics Collector - Collector component

[Service]
Type=simple
MemoryLimit=8G
ExecStart=/usr/bin/dsc -f -p /etc/dsc-statistics/dsc-collector.cfg

[Install]
Expand Down

0 comments on commit 0857865

Please sign in to comment.