qemu/ksm.service

14 lines
270 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Kernel Samepage Merging
ConditionPathExists=/sys/kernel/mm/ksm
[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