mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00: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:
parent
53567a86e8
commit
86b172b9c2
@ -10,4 +10,4 @@ Type=oneshot
|
||||
ExecStart=/usr/libexec/haos-swapfile
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=swap.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user