Merge branch 'master' of github.com:p4gefau1t/trojan-go

This commit is contained in:
Page Fault
2020-06-11 06:52:33 +00:00
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -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
+17
View File
@@ -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