I've been trying to override the shebang when starting a service that's a python script but the shebang takes priority over command_interpreter when using run_rc_command apparently.
I get a warning that the command_interpreter value is not equal to the shebang and the shebang version is used(which fails because of the too recent version of sqlite3 and the way the script was made, which requires python 3.12 to fix).
Is that intended behavior and can I get around it while still using the built in rc stuff?
For now I just changed the shebang to the specific non-default python version I need to use for it but I'll have to repeat that change every time that file gets updated which isn't ideal and I'd rather not have to write a full rc script to handle things manually.
I get a warning that the command_interpreter value is not equal to the shebang and the shebang version is used(which fails because of the too recent version of sqlite3 and the way the script was made, which requires python 3.12 to fix).
Is that intended behavior and can I get around it while still using the built in rc stuff?
For now I just changed the shebang to the specific non-default python version I need to use for it but I'll have to repeat that change every time that file gets updated which isn't ideal and I'd rather not have to write a full rc script to handle things manually.