1
0

x-ui.service 275 B

123456789101112131415
  1. [Unit]
  2. Description=x-ui Service
  3. After=network.target
  4. Wants=network.target
  5. [Service]
  6. Environment="XRAY_VMESS_AEAD_FORCED=false"
  7. Type=simple
  8. WorkingDirectory=/usr/local/x-ui/
  9. ExecStart=/usr/local/x-ui/x-ui
  10. Restart=on-failure
  11. RestartSec=5s
  12. [Install]
  13. WantedBy=multi-user.target