Create zram-run.service

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

View File

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