mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
Merge branch 'master' of github.com:p4gefau1t/trojan-go
This commit is contained in:
@@ -17,4 +17,4 @@ hugo-themes:
|
||||
rm -rf themes
|
||||
mkdir themes
|
||||
git clone --depth=1 https://github.com/llc1123/hugo-theme-techdoc.git themes/hugo-theme-techdoc
|
||||
rm -rf themes/hugo-theme-techdoc/.git
|
||||
rm -rf themes/hugo-theme-techdoc/.git
|
||||
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=trojan-go
|
||||
Documentation=https://p4gefau1t.github.io/trojan-go/
|
||||
After=network.target network-online.target nss-lookup.target mysql.service mariadb.service mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
StandardError=journal
|
||||
User=nobody
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
ExecStart=/usr/lib/trojan-go/trojan-go /etc/trojan-go/%i.json
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user