Create zram-var.service

This commit is contained in:
Pascal Vizeli 2018-04-03 23:01:04 +02:00 committed by GitHub
parent e54f48dc1d
commit 5d49d5e90f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,12 @@
[Unit]
Description=Hassio ZRAM var
Requires=var.mount
Before=var.mount
[Service]
Type=oneshot
ExecStart=/sbin/hassio-zram -t sf -m var -s 32M
RemainAfterExit=true
[Install]
WantedBy=hassio-zram.target