fix(getting-started): Fix typos in systemd service config (#541)

fix #536 

```release-note
None
```
This commit is contained in:
Howie Xie
2025-12-25 16:37:02 +08:00
committed by GitHub
parent 83b38cc1cb
commit ac203d726e
6 changed files with 12 additions and 18 deletions

View File

@@ -198,9 +198,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target

View File

@@ -187,9 +187,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target

View File

@@ -187,9 +187,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target

View File

@@ -196,9 +196,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target

View File

@@ -198,9 +198,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target

View File

@@ -198,9 +198,8 @@ title: 使用 JAR 文件部署
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -server -Xms256m -Xmx256m -jar JAR_PATH --spring.config.additional-location=optional:file:/home/halo/.halo2/
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
StandardOutput=syslog
StandardError=inherit
[Install]
WantedBy=multi-user.target