File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,14 @@ Note: Metal support is provided by candle but has not been tested with this proj
132132cargo build --release --bin generation-daemon --features cuda,audio-ogg
133133```
134134
135+ A systemd user service unit is included in [ ` ace-step-gen.service ` ] ( ace-step-gen.service ) . Install with:
136+
137+ ``` bash
138+ cp ace-step-gen.service ~ /.config/systemd/user/
139+ systemctl --user daemon-reload
140+ systemctl --user enable --now ace-step-gen
141+ ```
142+
135143## Features
136144
137145| Feature | Default | Description |
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =ACE-Step generation daemon (resident pipeline, Unix socket)
3+ After =local-fs.target
4+
5+ [Service]
6+ Type =simple
7+ Environment =LIBRARY_PATH =/usr/lib64:/usr/lib
8+ Environment =PATH =/usr/local/cuda-12.4/bin:/usr/local/bin:/usr/bin:/bin
9+ Environment =CUDA_HOME =/usr/local/cuda-12.4
10+ Environment =RUST_LOG =info
11+ # Adjust the path to your built binary
12+ ExecStart =%h/Projects/ace-step-rs/target/release/generation-daemon --socket /tmp/ace-step-gen.sock
13+ Restart =on-failure
14+ RestartSec =10
15+
16+ [Install]
17+ WantedBy =default.target
You can’t perform that action at this time.
0 commit comments