979ec18948
Drop execute bit on service files (bz #963917) Conditionalize KSM service on host virt support (bz #963681) Split out KSM package, make it not pulled in by default
15 lines
297 B
Desktop File
15 lines
297 B
Desktop File
[Unit]
|
|
Description=Kernel Samepage Merging
|
|
ConditionPathExists=/sys/kernel/mm/ksm
|
|
ConditionVirtualization=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
EnvironmentFile=-/etc/sysconfig/ksm
|
|
ExecStart=/lib/systemd/ksmctl start
|
|
ExecStop=/lib/systemd/ksmctl stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|