2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-12 11:06:17 +00:00

Keep urlmount alive during system shutdown

Mark urlmount as an initramfs root storage daemon before entering FUSE so systemd-shutdown does not wait for or kill the process serving the root image.
This commit is contained in:
Markus Hilger
2026-11-02 02:37:23 +01:00
parent 89787671cf
commit 061f2facec
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -403,5 +403,6 @@ int main(int argc, char* argv[]) {
}
curl_easy_cleanup(curl);
curl_global_cleanup();
argv[0][0] = '@'; /* Keep this initramfs root storage daemon alive during shutdown. */
fuse_main(argc, argv, &http_ops, NULL);
}
+1
View File
@@ -344,5 +344,6 @@ int main(int argc, char* argv[]) {
}
curl_easy_cleanup(curl);
curl_global_cleanup();
argv[0][0] = '@'; /* Keep this initramfs root storage daemon alive during shutdown. */
fuse_main(argc, argv, &http_ops, NULL);
}