[Unit] Description=Heat GPU Cloud — Provider Client Documentation=https://heatgpu.com/provider/client.html After=network-online.target docker.service Wants=network-online.target [Service] Type=simple # 環境変数で Token を設定 (この行を編集してください) # Environment="HEAT_PROVIDER_TOKEN=YOUR_TOKEN_HERE" EnvironmentFile=-/etc/default/heat-provider ExecStart=/usr/bin/env python3 %h/.heat-provider/heat_provider.py Restart=on-failure RestartSec=15 StandardOutput=journal StandardError=journal User=%i # セキュリティ強化 NoNewPrivileges=true ProtectSystem=strict ProtectHome=read-only ReadWritePaths=%h/.heat-provider PrivateTmp=true [Install] WantedBy=multi-user.target