add service

This commit is contained in:
admin committed 2026-04-20 20:07:07 +07:00
1 parent 9b28cc924a
commit b53bb4c8a8
4 files changed
+136

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=LiteRT-LM Server Service
After=network.target
[Service]
Type=simple
User=your_username
WorkingDirectory=/home/your_username/litert-lm-orangepi
Environment="PATH=/usr/bin:/usr/local/bin"
ExecStart=/usr/bin/python3 /home/your_username/litert-lm-orangepi/server.py
StandardInput=file:/home/your_username/litert-lm-orangepi/service_config.txt
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target