#Set max file limit either for all things, or just celeste

18 messages · Page 1 of 1 (latest)

steep veldt
#

I keep forgetting to set ulimit -n to 4096 before I launch celeste. Is there way to change the ulimit globaly, or just for celeste without having to run ulimit -n 4096 every time before I launch celeste

vital parcel
#

you could add it to your ~/.bashrc

steep veldt
#

oh dang fr?

#

im so stupid

vital parcel
#

(assuming you use bash)

steep veldt
#

Ive been googling for days trying systemd services and editing the kernel

#

i feel stupid asf forgetting about bashrc

vital parcel
#

or depending on where you're launching it from, you might need one of the other bash startup files

#

idk this stuff always confuses me

steep veldt
#

Neither works, i think im just gonna have to rember to set it each time

#

tried .bashrc and .bash_profile

vital parcel
#

how are you launching celeste?

steep veldt
vital parcel
#

make sure you're putting the command in a file that's run for interactive shells then

#

or just define a shortcut that expands to ulimit -n 4096 && /path/to/celeste/Celeste.bin.x86_64

steep veldt
#

could I edit olympus' button to have it run a script with those commands?

vital parcel
#

you would need to fork olympus and build your own version for that

blazing kayak