How to create startup service for ERPNext?

Please let me know asap.

So what did you have in mind?

I want to start site in back-end process like odoo with single command with setup all in config file. Is that possible in ERPNext?

I don’t see why not - to be honest you lost me with Odoo.

Please be clear. Is that possible or not?

What this about?

i want to run instance with a service file where i put all the information like site name, port number, database, log file and run that instance with single command like command: service service name start for linux. so every time i do not need to write whole command to run instance and that instance still run after i close the terminal

yep a unix script could handle that!

Edit: If I recall the suffix ‘&’ after the command will run the process in the background and after the terminal is closed?

Correction: ‘nohup bench start &’

Hi @Prince_Patel,

Not sure if that answers your question, but you don’t need to create your own script to have ERPNext running after closing your terminal. ERPNext has a production mode. You can read all about it here:


refer video,