-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Description
Description
In comment on 88660 user complained that UseSystemd() does nothing when ProtectProc=invisible is set. It's likely because in that case systemd hides files which UseSystemd uses for detection if running on systemd based system or not. Since issues is different from originally reported (support non-sytemd × sometimes do not work at systemd), creating separate issue for tracking it for case we pick approach that do not solves them both at once.
Reproduction Steps
Run Microsoft.Extensions.Hosting based app with ProtectProc=invisible set in systemd service unit file
Expected behavior
Should behave like running under systemd
Actual behavior
UseSystemd does nothing
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Reactions are currently unavailable