Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OWTF takes few steps to start #638
Everytime, I restart my VM, it takes few steps to start OWTF like changing directory, go to scripts and then run scripts. It's a kind of little lengthy process, and tiredsome.
It should start in 1 or 2 steps without much efforts of end user.
Takes multiple steps to start, after VM restart.
Steps to Reproduce (for bugs)
@delta24 I just called both the files i.e start_postgres.sh and db_run.sh as required to start services. These are called when the current exception handling ask user to manually start service in files db_run.sh and db.py respectively.
@RahulPratapSingh So basically, the extra step is that postgresql is not starting when your VM is booting?
If that is the case, then simply add it to your startup configuration, using systemctl for instance:
sudo systemctl enable postgresql.service
Then, you don't need to run
IMO, OWTF should not start postgresql on startup but let the user configure his system.
@sachinkamath I don't think that it would be a problem of efficiency if we forced OWTF to run postgresql server if not started. However, I don't believe that it should be doing that and instead let the user deal with his services/daemons configuration.