Improve startup diagnostics and systemd robustness
This commit is contained in:
parent
67fc8d1701
commit
5f756ea04e
3 changed files with 18 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ After=default.target
|
|||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=%h/.local/share/aman
|
||||
ExecStart=/usr/bin/uv run python3 %h/.local/share/aman/src/aman.py --config %h/.config/aman/config.json
|
||||
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||
ExecStart=/usr/bin/env uv run python3 %h/.local/share/aman/src/aman.py --config %h/.config/aman/config.json
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue