Create zram-swap.service

This commit is contained in:
Pascal Vizeli
2018-04-03 22:58:55 +02:00
committed by GitHub
parent ff9e565636
commit e54f48dc1d

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Hassio ZRAM swap
Requires=dev-zram0.swap
Before=dev-zram0.swap
[Service]
Type=oneshot
ExecStart=/sbin/hassio-zram -t swap
RemainAfterExit=true
[Install]
WantedBy=hassio-zram.target