Files
codewhale/deploy/tencent-lighthouse/systemd/codewhale-runtime.service
T
2026-05-23 13:41:46 -05:00

22 lines
591 B
Desktop File

[Unit]
Description=Codewhale Runtime API
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=codewhale
Group=codewhale
WorkingDirectory=/opt/whalebro
EnvironmentFile=/etc/deepseek/runtime.env
ExecStart=/home/codewhale/.cargo/bin/codewhale serve --http --host 127.0.0.1 --port ${DEEPSEEK_RUNTIME_PORT} --workers ${DEEPSEEK_RUNTIME_WORKERS} --auth-token ${DEEPSEEK_RUNTIME_TOKEN}
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ReadWritePaths=/home/codewhale/.deepseek /opt/whalebro
[Install]
WantedBy=multi-user.target