2011-10-21 20:32:18 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Kernel Samepage Merging
|
|
|
|
ConditionPathExists=/sys/kernel/mm/ksm
|
2013-05-25 18:38:28 +00:00
|
|
|
ConditionVirtualization=no
|
2011-10-21 20:32:18 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
EnvironmentFile=-/etc/sysconfig/ksm
|
|
|
|
ExecStart=/lib/systemd/ksmctl start
|
|
|
|
ExecStop=/lib/systemd/ksmctl stop
|
2011-11-03 20:53:07 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|