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