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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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