25d3eafa5b
- Implemented tasks for managing Ubuntu containers using Podman, including inspection, creation, starting, and SSH setup. - Added verification tasks for WSL and Podman installation, machine existence, and NSSM service status. - Created PowerShell scripts for Podman auto-start on Windows boot. - Introduced Prometheus role with default configurations and installation tasks. - Updated Windows SSH role to improve authorized_keys management and permissions handling. - Modified inventory to include Windows containers host. - Updated Grafana datasource configurations with direct IP addresses for Prometheus instances.
17 lines
401 B
Django/Jinja
17 lines
401 B
Django/Jinja
[Unit]
|
|
Description=Podman file for llama.cpp server
|
|
After=local-fs.target network-online.target nvidia-cdi-generator.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User={{ llama_server_user }}
|
|
Group={{ llama_server_group }}
|
|
RemainAfterExit=true
|
|
ExecStart={{ podman_binary }} start llamacpp
|
|
ExecStop={{ podman_binary }} stop llamacpp
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |