Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to quit the app/process from within GUI #143

Open
slrslr opened this issue May 17, 2021 · 1 comment
Open

How to quit the app/process from within GUI #143

slrslr opened this issue May 17, 2021 · 1 comment
Labels
feature New feature or request

Comments

@slrslr
Copy link

slrslr commented May 17, 2021

Hello,

it can be handy if the web UI has a button or menu entry to quit the rats process. I have changed some settings like ports and such, so i guessed i need to restart rats.

Currently i am sending a SIGTERM to the process manually. I am running rats automatically after computer start and if it gets killed using the bash script command: cd ~/apps/rats-search;npm run server &

Also what is the Linux command that should stop the rats properly? Is it:
sudo kill -15 $(pidof "npm run server")
15=TERM, 9=KILL

Thank you

@DEgITx
Copy link
Owner

DEgITx commented Jun 13, 2021

It will need to probably add some restart admin button, Because web UI itself must be safe and protected from other users clicks.

@DEgITx DEgITx added the feature New feature or request label Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants