2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Disable Transparent Huge Pages
|
2022-02-15 01:49:11 +08:00
|
|
|
PartOf=bigbluebutton.target
|
2022-04-01 22:43:48 +08:00
|
|
|
ConditionPathIsDirectory=/sys/kernel/mm/transparent_hugepage
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/bin/sh -c "/bin/echo "never" | tee /sys/kernel/mm/transparent_hugepage/enabled"
|
|
|
|
ExecStart=/bin/sh -c "/bin/echo "never" | tee /sys/kernel/mm/transparent_hugepage/defrag"
|
2022-04-01 22:43:48 +08:00
|
|
|
RemainAfterExit=yes
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Install]
|
2022-02-15 01:49:11 +08:00
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|