qemu-kvm/ksm.service
Danilo C. L. de Paula 58305efc05 Initial 3.0.0 rebase
2018-10-14 14:48:54 -03: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=/usr/libexec/ksmctl start
ExecStop=/usr/libexec/ksmctl stop
[Install]
WantedBy=multi-user.target