Development
This commit is contained in:
parent
23a947a6b8
commit
61817b2cf3
1 changed files with 4 additions and 0 deletions
|
|
@ -215,6 +215,10 @@ def install_core_packages(pm):
|
||||||
|
|
||||||
|
|
||||||
def fix_freeradius_service_file():
|
def fix_freeradius_service_file():
|
||||||
|
# The freeradius package ships with MemoryLimit= in its unit file, which was
|
||||||
|
# deprecated in systemd 248 in favor of MemoryMax=. This
|
||||||
|
# causes a noisy warning on every systemctl operation. We patch the file in
|
||||||
|
# place and reload the daemon so the change takes effect immediately.
|
||||||
svc = Path("/lib/systemd/system/freeradius.service")
|
svc = Path("/lib/systemd/system/freeradius.service")
|
||||||
if not svc.exists():
|
if not svc.exists():
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue