yunion-host-image.service 366 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Yunion Host Image Server
  3. Documentation=https://docs.yunion.cn
  4. After=network.target
  5. [Service]
  6. Type=simple
  7. User=root
  8. Group=root
  9. ExecStart=/opt/yunion/bin/host-image --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