velo / one-api.service
Jack698's picture
Upload folder using huggingface_hub
adc1e1c verified
Raw
History Blame Contribute Delete
514 Bytes
# File path: /etc/systemd/system/veloera.service
# sudo systemctl daemon-reload
# sudo systemctl start veloera
# sudo systemctl enable veloera
# sudo systemctl status veloera
[Unit]
Description=One API Service
After=network.target
[Service]
User=ubuntu # 注意修改用户名
WorkingDirectory=/path/to/veloera # 注意修改路径
ExecStart=/path/to/veloera/veloera --port 3000 --log-dir /path/to/veloera/logs # 注意修改路径和端口号
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target