qemu/ksm.service
2011-11-03 15:53:07 -05:00

14 lines
270 B
Desktop File

[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
[Install]
WantedBy=multi-user.target