chore(services): 🔧 Update resource limits and environment variables in chobit service config
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
1c834b868c
commit
82e514452e
1 changed files with 21 additions and 0 deletions
21
infrastructure/services/chobit.service
Normal file
21
infrastructure/services/chobit.service
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[Unit]
|
||||
Description=Chobit AI Companion (Godot desktop overlay)
|
||||
After=graphical-session.target model-boss-coordinator.service chatterbox-tts.service
|
||||
Wants=model-boss-coordinator.service chatterbox-tts.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=%h/Code/@applications/@chobit
|
||||
ExecStart=%h/Code/@applications/@chobit/run start
|
||||
ExecStop=%h/Code/@applications/@chobit/run stop
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
Environment="DISPLAY=:0"
|
||||
Environment="WAYLAND_DISPLAY=wayland-0"
|
||||
Environment="XDG_RUNTIME_DIR=/run/user/%U"
|
||||
Environment="HOME=%h"
|
||||
Environment="PATH=/usr/local/bin:/usr/bin:/bin:%h/.local/bin"
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Loading…
Add table
Reference in a new issue