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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user