Hello, I'm trying to spin up agents thru systemd service, but it's failing:
4 months ago
The script:
#!/bin/bash
export PATH="$PATH:$HOME/.local/bin/"
clearml-agent daemon --detached --create-queue --queue holly-gpu0 gpu-24gb gpu-12gb gpu-8gb --gpus 0
clearml-agent daemon --queue task_services --detached --services-mode --cpu-only
# Contents of /etc/systemd/system/clearml-spin-up-agent.service
[Unit]
Description=ClearML Spin up agent service
After=network.target
[Service]
Type=simple
Restart=always
User=clearml
WorkingDirectory=/home/clearml
ExecStart=/home/clearml/spin_up_clearml_agent.sh
[Install]
WantedBy=multi-user.target
Can anybody help me please?