diff options
Diffstat (limited to 'pcr/zramswap/zramswap.service')
-rw-r--r-- | pcr/zramswap/zramswap.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/zramswap/zramswap.service b/pcr/zramswap/zramswap.service new file mode 100644 index 000000000..9c9cccd23 --- /dev/null +++ b/pcr/zramswap/zramswap.service @@ -0,0 +1,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
\ No newline at end of file |