SHA256
1
0
forked from pool/qemu
qemu/ksm.service
Bruce Rogers 5d7aa9a184 Accepting request 565839 from home:bfrogers:branches:Virtualization
- Fix packaging dependencies (coreutils) for qemu-ksm package
  (bsc#1040202)
- Fix packaging dependencies (coreutils) for qemu-ksm package
  (bsc#1040202)

OBS-URL: https://build.opensuse.org/request/show/565839
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=382
2018-01-15 20:21:37 +00:00

14 lines
284 B
Desktop File

[Unit]
Description=Kernel Samepage Merging
ConditionPathExists=/sys/kernel/mm/ksm
ConditionVirtualization=no
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/echo 1 > /sys/kernel/mm/ksm/run
ExecStop=/bin/echo 0 > /sys/kernel/mm/ksm/run
[Install]
WantedBy=multi-user.target