1
0
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:
Stefan Agner
2023-09-21 15:30:24 +02:00
committed by GitHub
parent 53567a86e8
commit 86b172b9c2

View File

@@ -10,4 +10,4 @@ Type=oneshot
ExecStart=/usr/libexec/haos-swapfile
[Install]
WantedBy=multi-user.target
WantedBy=swap.target