yunion-lbagent.service 330 B

1234567891011121314151617
  1. [Unit]
  2. Description=Yunion Loadbalancer Agent
  3. Documentation=http://doc.yunionyun.com
  4. After=network.target
  5. [Service]
  6. Type=simple
  7. User=root
  8. Group=root
  9. ExecStart=/opt/yunion/bin/lbagent --config /etc/yunion/lbagent.conf
  10. WorkingDirectory=/opt/yunion
  11. KillMode=process
  12. Restart=always
  13. RestartSec=30
  14. [Install]
  15. WantedBy=multi-user.target