summaryrefslogtreecommitdiff
path: root/net-proxy/trojan/files/README.gentoo
blob: caaf236f4c1c846692027fa7f5944a8f49068b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Notes:
 1) starting from version 1.16.0-r2, the daemon will
run as user='trojan', previous it's run as user='nobody',
you might want to fix the permissions at /etc/trojan/*.

 2) Running Trojan with multi instances

   a) Using OpenRC
    Prepare /etc/trojan/${foo}.json first
    # ln -s /etc/init.d/trojan{,.${foo}}
    # rc-update add trojan.${foo} default

   b) Using Systemd
    # systemctl enable trojan.${foo}