Skip to content

Commit fc62854

Browse files
committed
🤩 Clean up README and systemd unit file
- README: format console comments - systemd service: remove static online config generation
1 parent 720c562 commit fc62854

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Prerequisites: .NET 5 SDK
3232
Note for packagers: The application by default uses executable directory as config directory. To use user's config directory, define the constant `PACKAGED` when building.
3333

3434
```console
35-
# Build with Release configuration
35+
$ # Build with Release configuration
3636
$ dotnet build -c Release
3737

38-
# Publish as framework-dependent
38+
$ # Publish as framework-dependent
3939
$ dotnet publish ShadowsocksUriGenerator -c Release
4040

41-
# Publish as self-contained for Linux x64
41+
$ # Publish as self-contained for Linux x64
4242
$ dotnet publish ShadowsocksUriGenerator -c Release \
4343
-p:PublishReadyToRun=true \
4444
-p:PublishSingleFile=true \
@@ -50,7 +50,7 @@ $ dotnet publish ShadowsocksUriGenerator -c Release \
5050
-p:InvariantGlobalization=true \
5151
-r linux-x64 --self-contained
5252

53-
# Publish as self-contained for packaging on Linux x64
53+
$ # Publish as self-contained for packaging on Linux x64
5454
$ dotnet publish ShadowsocksUriGenerator -c Release \
5555
-p:DefineConstants=PACKAGED \
5656
-p:PublishReadyToRun=true \

systemd/user/ss-uri-gen.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Wants=network-online.target
44
After=network-online.target
55

66
[Service]
7-
ExecStart=/usr/bin/ss-uri-gen service --interval 3600 --pull-outline-server --regenerate-online-config
7+
ExecStart=/usr/bin/ss-uri-gen service --interval 3600 --pull-outline-server
88

99
[Install]
1010
WantedBy=multi-user.target default.target

0 commit comments

Comments
 (0)