Enable core dumps for SGSN
This commit is contained in:
parent
814c343721
commit
9ba225a86c
2 changed files with 11 additions and 0 deletions
3
modules/rhizo_base/files/systemd/coredump.override
Normal file
3
modules/rhizo_base/files/systemd/coredump.override
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Service]
|
||||||
|
WorkingDir=/var/lib/osmocom
|
||||||
|
LimitCORE=infinity
|
|
@ -11,6 +11,9 @@
|
||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
class rhizo_base::openbsc {
|
class rhizo_base::openbsc {
|
||||||
|
|
||||||
|
include systemd
|
||||||
|
|
||||||
$network_name = $rhizo_base::network_name
|
$network_name = $rhizo_base::network_name
|
||||||
$auth_policy = $rhizo_base::auth_policy
|
$auth_policy = $rhizo_base::auth_policy
|
||||||
$lac = $rhizo_base::lac
|
$lac = $rhizo_base::lac
|
||||||
|
@ -141,6 +144,11 @@ class rhizo_base::openbsc {
|
||||||
notify => Service['osmo-sgsn'],
|
notify => Service['osmo-sgsn'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
systemd::dropin_file { 'override.conf':
|
||||||
|
unit => 'osmo-sgsn.service',
|
||||||
|
source => 'puppet:///modules/rhizo_base/systemd/coredump.override'
|
||||||
|
}
|
||||||
|
|
||||||
$sgsn_version = $repo ? {
|
$sgsn_version = $repo ? {
|
||||||
'latest' => '1.6.0+rhizo1',
|
'latest' => '1.6.0+rhizo1',
|
||||||
'nightly' => 'latest',
|
'nightly' => 'latest',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue