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