Skip to content

Commit

Permalink
Merge branch 'master' of github.com:p4gefau1t/trojan-go
Browse files Browse the repository at this point in the history
  • Loading branch information
p4gefau1t committed Jun 11, 2020
2 parents e06c06d + 0b85bb2 commit cbd3b85
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/makefile → docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 17 additions & 0 deletions example/[email protected]
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cbd3b85

Please sign in to comment.