-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7162f8
commit 71f70ac
Showing
8 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Main-Version: 1.0 | ||
Main-Class: ServerBoot |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
public class ServerBoot { | ||
public static void main(String[]args) throws Exception | ||
{ | ||
try | ||
{ | ||
Runtime.getRuntime().exec("./shell/start_http.sh"); | ||
Runtime.getRuntime().exec("./shell/start_porxy.sh"); | ||
|
||
} | ||
catch (Exception E) | ||
{ | ||
System.out.println(E.getMessage()); | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Desktop Entry] | ||
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher | ||
X-Deepin-AppID=com.qq.music | ||
Categories=Utility; | ||
Comment=qqmusic application for linux | ||
Exec=/usr/LinWinHttp/start_linwinhttp %U | ||
Icon=/usr/LinWinHttp/out/production/LinWinHttpServer/img/logo.png | ||
Name=LinWin Http Server | ||
GenericName=LinWin Http Server | ||
Name[zh_CN]=LinWin Http Server | ||
Terminal=false | ||
Type=Application | ||
X-Deepin-Vendor=user-custom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
|
||
cd ../server/ | ||
java -jar LinWinHttp.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
cd ../proxy/ | ||
java -jar LinWin_Proxy.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=LinWin-Http-Server | ||
After=network.target | ||
|
||
[Service] | ||
ExecStart=/usr/LinWinHttp/sys/linwinhttp_start.sh | ||
Default-Start=/usr/LinWinHttp/sys/linwinhttp_start.sh | ||
Defualt-Stop=/bin/linwinhttp -server_stop | ||
|
||
[Install] | ||
WantedBy=muti-user.target |