mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00:00
Create zram-swap.service
This commit is contained in:
parent
ff9e565636
commit
e54f48dc1d
@ -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
|
Loading…
x
Reference in New Issue
Block a user