New troubleshoot options for systemd service; fixes for service file

This commit is contained in:
HackTestes
2025-07-07 15:52:51 -03:00
parent 9d1c9cc31a
commit 6d30ad100d
2 changed files with 13 additions and 1 deletions

View File

@@ -31,6 +31,18 @@ sudo systemctl enable --now caioh-gpu-nvml-control.service
sudo journalctl -u caioh-gpu-nvml-control.service
```
Restart the service
```bash
sudo systemctl restart caioh-gpu-nvml-control.service
```
Reload the service
```bash
sudo systemctl reload caioh-gpu-nvml-control.service
```
Reload systemd daemon
```bash

View File

@@ -5,7 +5,7 @@ Description=CaioH NVIDIA Control service
Type=simple
User=root
Group=root
WorkingDirectory=/home/root/
WorkingDirectory=/
ExecStart=/usr/local/bin/chnvml control-all -n "GPU_NAME" -pl 290 -tl 65 -sp "0:50,36:55,40:75,45:100"
Restart=always
KillSignal=SIGQUIT