mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
18 lines
507 B
Desktop File
18 lines
507 B
Desktop File
[Unit]
|
|
Description=Trojan-Go - An unidentifiable mechanism that helps you bypass GFW
|
|
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=root
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/%i.json
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|