summarylogtreecommitdiffstats
path: root/clashr.install
blob: 9850e21d02eb1088805721a8253002aeba20943c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Thanks aur#cow-proxy
post_install() {
    post_upgrade
}

post_upgrade() {

    cat << EOF
  Configuration document can be found at : 
  
  https://github.com/Dreamacro/clash
  https://github.com/frainzy1477/clashrdev

  Running clashr system instance for user account:

        To reload system systemd modules, execute

                systemctl daemon-reload

        To start clashr, execute:

                systemctl start clashr@user

        To autostart clashr on system start, execute

                systemctl enable clashr@user

  Running clashr user instance (will used current user account):

        To reload user systemd modules, execute

                systemctl --user daemon-reload

        To start clashr manually, execute:

                systemctl --user start clashr

        To autostart clashr on user login, execute

                systemctl --user enable clashr

EOF

}