mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-05-03 23:18:02 +01:00
Create swapfile even when not using the multi-user.target (#2762)
Pull in the swapfile creation service haos-swapfile.service when swap.target is reached. This makes sure the service is started even when other targets are used (e.g. rescue.target).
This commit is contained in:
@@ -10,4 +10,4 @@ Type=oneshot
|
||||
ExecStart=/usr/libexec/haos-swapfile
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=swap.target
|
||||
|
||||
Reference in New Issue
Block a user