yunion-host-deployer.service 383 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Yunion Host Deploy Agent
  3. Documentation=https://docs.yunion.cn
  4. After=network.target httpd.service
  5. [Service]
  6. Type=simple
  7. User=root
  8. Group=root
  9. ExecStart=/opt/yunion/bin/host-deployer --conf /etc/yunion/host.conf
  10. WorkingDirectory=/opt/yunion/bin
  11. KillMode=process
  12. Restart=always
  13. RestartSec=30
  14. LimitNOFILE=500000
  15. LimitNPROC=500000
  16. [Install]
  17. WantedBy=multi-user.target