install.sh

This commit is contained in:
sprov
2021-06-06 23:41:30 +08:00
parent 3d7192d0f6
commit e5788c6d8e
2 changed files with 13 additions and 1 deletions

12
x-ui.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=x-ui Service
After=network.target
Wants=network.target
[Service]
Type=simple
WorkingDirectory=/usr/local/x-ui/
ExecStart=/usr/local/x-ui/x-ui
[Install]
WantedBy=multi-user.target