12345678910111213141516171819202122 |
- [Unit]
- Description=x-ui Service
- After=network.target
- Wants=network.target
- [Service]
- Environment="XRAY_VMESS_AEAD_FORCED=false"
- Type=simple
- WorkingDirectory=/usr/local/x-ui/
- ExecStart=/usr/local/x-ui/x-ui
- Restart=on-failure
- RestartSec=5s
- ProtectHome=tmpfs
- ProtectKernelModules=true
- ProtectControlGroups=true
- ProtectKernelLogs=true
- ProtectHostname=true
- ProtectClock=true
- MemoryDenyWriteExecute=true
- [Install]
- WantedBy=multi-user.target
|