LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File zramswap.service of Package systemd-zram-service (Project home:malcolmlewis:SLE_12_General)

# /lib/systemd/system/zramswap.service
#
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
#

[Unit]
Description=Service enabling compressing RAM with zRam
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/zramswapon
ExecStop=/usr/sbin/zramswapoff
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target