Blob Blame History Raw
[Unit]
Description=Kernel Samepage Merging
ConditionPathExists=/sys/kernel/mm/ksm
ConditionVirtualization=no

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/ksm
ExecStart=/usr/libexecdir/ksmctl start
ExecStop=/usr/libexecdir/ksmctl stop

[Install]
WantedBy=multi-user.target