passenger
passenger copied to clipboard
How to set this clean stale to false?
Sorry, maybe incorrect place to ask this, but I can't found anywhere in the documentation. https://github.com/phusion/passenger/blob/44ab81c9fe45456415bd5312c3d695e9f225730f/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb#L38-L40
Now I want to set clean_stale_or_corrupted to false. How to do that?
I ask this because I want to hide these warnings when a non-sudo user wants to restart their own apps.
*** Cleaning stale instance directory /var/run/passenger-instreg/passenger.2bNkYvV
Warning: Permission denied @ dir_s_rmdir - /var/run/passenger-instreg/passenger.2bNkYvV
*** Cleaning stale instance directory /var/run/passenger-instreg/passenger.LlOa0MJ
Warning: Permission denied @ dir_s_rmdir - /var/run/passenger-instreg/passenger.LlOa0MJ
*** Cleaning stale instance directory /var/run/passenger-instreg/passenger.R9pfFuA
Warning: Permission denied @ dir_s_rmdir - /var/run/passenger-instreg/passenger.R9pfFuA
That option isn't exposed to the cli atm, i'll mark this as an enhancement request