summaryrefslogtreecommitdiffstats
path: root/recipes-core/systemd/rpi-zram-service/rpi-zram.service
blob: 007dfccc91709256d63e1f2df377973a8b35a7e3 (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/rpi-load-zram.sh --load
ExecStop=/usr/bin/rpi-load-zram.sh --unload
Type=oneshot

[Install]
WantedBy=multi-user.target