Create zram-tmp.service

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

View File

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