11 lines
232 B
SYSTEMD
11 lines
232 B
SYSTEMD
|
[Unit]
|
||
|
Description=Kernel Samepage Merging
|
||
|
ConditionPathExists=/sys/kernel/mm/ksm
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
EnvironmentFile=-/etc/sysconfig/ksm
|
||
|
ExecStart=/lib/systemd/ksmctl start
|
||
|
ExecStop=/lib/systemd/ksmctl stop
|