Replies: 2 comments 4 replies
-
On a related note: .NET actually has official systemd integration. Although you probably don't need it for this. |
Beta Was this translation helpful? Give feedback.
-
I tried to use rc.local to boot with absolute path and modify the code in program.cs
Change this line: Now although it works. But I don't know what the difference is between two codes above. And I'm not sure if it will cause other problems because I change this line of code |
Beta Was this translation helpful? Give feedback.
-
I want my Avalonia Application to run when the raspberry pi (raspbian lite) startup.
The application runs well when I input this in terminal:
sudo ./test/test --drm
Then I try the way by editing rc.local and add the code:
sudo ./test/test --drm
above the line of exit 0
When I reboot the raspberry pi, it reports an error:
sudo: ./test/test:command not found
What's wrong with my code?
Although there are many ways to set an application startup in raspberry. Whereas, most of them need to add useless services or install python framework. I want to use the simplest way to achieve this without loading unnecessary frameworks or services (which will cause the Raspberry Pi to run slower).
Beta Was this translation helpful? Give feedback.
All reactions