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