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