2014-03-19 15:11:16 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Kernel Samepage Merging
|
|
|
|
ConditionPathExists=/sys/kernel/mm/ksm
|
|
|
|
ConditionVirtualization=no
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2019-05-02 00:51:10 +02:00
|
|
|
ExecStart=/bin/echo 1 > /sys/kernel/mm/ksm/run
|
|
|
|
ExecStop=/bin/echo 0 > /sys/kernel/mm/ksm/run
|
2014-03-19 15:11:16 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|