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

Running as a service on Jetson Nano #120

Open
3 of 6 tasks
jasonmhite opened this issue Jul 9, 2024 · 3 comments
Open
3 of 6 tasks

Running as a service on Jetson Nano #120

jasonmhite opened this issue Jul 9, 2024 · 3 comments

Comments

@jasonmhite
Copy link

Area of Concern

  • Server
  • Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

Describe the bug
It is not well documented how to run the server manually from the command line on Linux or as something like a systemd service. Especially on the Jetson, the docs only mention running it from VSCode. Some of the supported platforms (e.g. Ubuntu/Windows) appear to include service or start scripts, but these don't appear to be included to work from.

Expected behavior
Document generally how to run the server from the command line, not just from within VSCode.

Screenshots
NA

Your System (please complete the following information):

  • Current server version, running on Jetson Nano 4GB.

Additional context
The general setup process for the Nano doesn't work super well, I had to do a bunch of manual fixing and searching and playing around to get anything working.

@doodieb15
Copy link

Easy:

create systemD Service:

[Unit]
Description=Codeproject AI Server

[Service]
Type=simple
ExecStart=dotnet /home/jetson/CodeProject.AI-Server-2.6.5/src/server/bin/Debug/net7.0/CodeProject.AI.Server.dll 
WorkingDirectory=/home/jetson/CodeProject.AI-Server-2.6.5/src/server/
Restart=always

[Install]
WantedBy=multi-user.target

restart daemon and start service

@kwjjohnson
Copy link

Area of Concern

  • Server
  • Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

Describe the bug It is not well documented how to run the server manually from the command line on Linux or as something like a systemd service. Especially on the Jetson, the docs only mention running it from VSCode. Some of the supported platforms (e.g. Ubuntu/Windows) appear to include service or start scripts, but these don't appear to be included to work from.

Expected behavior Document generally how to run the server from the command line, not just from within VSCode.

Screenshots NA

Your System (please complete the following information):

  • Current server version, running on Jetson Nano 4GB.

Additional context The general setup process for the Nano doesn't work super well, I had to do a bunch of manual fixing and searching and playing around to get anything working.

Any possibility that you've written down the process for making the Jetson Nano work? I've been struggling for months and still no luck getting it to run... Any input is much appreciated!

@doodieb15
Copy link

That's a good start

#122 (comment)

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

3 participants