218e99
[Unit]
218e99
Description=Kernel Samepage Merging
218e99
ConditionPathExists=/sys/kernel/mm/ksm
218e99
218e99
[Service]
218e99
Type=oneshot
218e99
RemainAfterExit=yes
218e99
EnvironmentFile=-/etc/sysconfig/ksm
218e99
ExecStart=/lib/systemd/ksmctl start
218e99
ExecStop=/lib/systemd/ksmctl stop
218e99
218e99
[Install]
218e99
WantedBy=multi-user.target