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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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