diff options
Diffstat (limited to 'x-ui.service')
| -rw-r--r-- | x-ui.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x-ui.service b/x-ui.service new file mode 100644 index 00000000..29d2a63a --- /dev/null +++ b/x-ui.service @@ -0,0 +1,15 @@ +[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 + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |
