blob: 2ab384bdae1e6407fe9ab698c8b6d8fa497f3fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[Unit]
Description=Claude Code Relay Server
Documentation=https://github.com/wakaka6/claude-code-relay
After=network.target
[Service]
Type=simple
User=cc-relay
Group=cc-relay
WorkingDirectory=/var/lib/cc-relay
ExecStart=/usr/bin/cc-relay-server --config /etc/cc-relay-server/config.toml
Restart=on-failure
RestartSec=5
Environment=RUST_LOG=info
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/cc-relay
PrivateTmp=true
[Install]
WantedBy=multi-user.target
|