aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/zram/zram/zram.service
blob: 4a19367d9331d91f4c019018ce82ce1d98c1a3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Enable zram compressed in-memory swap.
After=multi-user.target

[Service]
RemainAfterExit=yes
ExecStart=/usr/bin/zram-load.sh --load
ExecStop=/usr/bin/zram-load.sh --unload
Type=oneshot

[Install]
WantedBy=multi-user.target