summaryrefslogtreecommitdiff
path: root/pcr/zramswap/zramswap.service
blob: 9c9cccd235be9e49ea533df2c6c58217ae2ba5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Zram-based swap (compressed RAM block devices)

[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/zramctrl start
ExecStop=/usr/lib/systemd/scripts/zramctrl stop
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target