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

native service support planned? #274

Open
yeahman45 opened this issue Aug 28, 2021 · 4 comments
Open

native service support planned? #274

yeahman45 opened this issue Aug 28, 2021 · 4 comments

Comments

@yeahman45
Copy link

Do you plan to add native service support?
I mean I am running it as service using NSSM but I can't tell if the service is running fine without errors or anything.. it is difficult to monitor.

@VorlonCD
Copy link
Owner

Planed, yes. Some of the framework is in place but I think I got stuck on inter-process communication between service and main process and never got back to it. Will keep it in mind.

@yeahman45
Copy link
Author

What's the best way to run the software as a service meanwhile? NSSM?
It does not seem reliable:

  1. Before opening AI Tools I top the service but in AI tools, I can't seem to find logs that occurred during the time the software was run as a service.
  2. I have defined to execute a bat file (that send email) when detection occurs. It works fine when I use "Test" button but when running in service, it does not see to work.. never received an email when there has been detections.
    Tried to look at the logs but the issue explained in 1, I don't have any logs.

@VorlonCD
Copy link
Owner

Remember that you cannot run the UI version in the task tray at the same time as the service. If you will be running the UI, you have to stop the service first.

After running as a service for a while, use EVERYTHING search to search for AITOOL*.LOG and AITOOL*.LOG.ZIP - maybe running as a service is creating the log under a different user or even under the C:\WINDOWS folder?

The usual location is \AITOOL_SETTINGS\LOGS\

Maybe its not really running as a service correctly due to credential issues?

Finally, try NOT running as a service. Rather, enable the AITOOL "Start with user login" option along with enabling auto login in windows. (I always have to google a bit to find the right method to automatically log into windows as there are several ways of doing it depending on version of Windows)

@yeahman45
Copy link
Author

ok thx man! btw very great improvements you made to AItool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants