-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加启动,停止服务脚本 更新readme
- Loading branch information
Showing
6 changed files
with
27 additions
and
15 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
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,9 @@ | ||
server: | ||
port: 8080 | ||
spring: | ||
data: | ||
mongodb: | ||
database: pybbs #一般只用配置这一个就可以了,如果数据库有密码,还要配置下面几个配置 | ||
# uri: | ||
# port: | ||
# password: |
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
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 @@ | ||
ps -ef | grep pybbs.jar | grep -v grep | cut -c 9-15 | xargs kill -s 9 |
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
server: | ||
port: 8080 | ||
spring: | ||
# 外置的mongodb服务配置 | ||
data: | ||
mongodb: | ||
database: pybbs #一般只用配置这一个就可以了,如果数据库有密码,还要配置下面几个配置 | ||
# 内置的mongodb服务配置 | ||
# mongodb: | ||
# embedded: | ||
# storage: | ||
# database-dir: ./data | ||
database: pybbs #一般只用配置这一个就可以了,如果数据库有密码,还要配置下面几个配置 | ||
# uri: | ||
# port: | ||
# password: |
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 @@ | ||
java -jar pybbs.jar --spring.profiles.active=prod > log.file 2>&1 & |