-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
4 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
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 @@ | ||
--- | ||
date: 2023-10-07T16:00:00.000+00:00 | ||
title: 使用 Ansible 加密 git 仓库中的隐私信息 | ||
lang: zh | ||
duration: 10min | ||
--- | ||
|
||
## Reference | ||
|
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,16 @@ | ||
[Unit] | ||
Description=V2Ray Service | ||
Documentation=https://www.v2fly.org/ | ||
After=network.target nss-lookup.target | ||
|
||
[Service] | ||
User=nobody | ||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE | ||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE | ||
NoNewPrivileges=true | ||
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json | ||
Restart=on-failure | ||
RestartPreventExitStatus=23 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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