This repository was archived by the owner on Feb 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,20 @@ You can also set a different host and address to have the webserver listen on.
6262 # run as www-data for security reasons!
6363 sudo -u www-data ./bin/twitch-api-v3-proxy
6464
65+ ## systemd service file
66+
67+ Example systemd is provided in the repo as ` twitch-api-v3-proxy.service ` .
68+
69+ Install the service:
70+
71+ sudo wget "https://raw.githubusercontent.com/zwb3/twitch-api-v3-proxy/master/twitch-api-v3-proxy.service" \
72+ -O "/etc/systemd/system/twitch-api-v3-proxy.service"
73+ sudo systemctl daemon-reload
74+ sudo systemctl enable twitch-api-v3-proxy
75+ sudo systemctl start twitch-api-v3-proxy
76+ # check the status
77+ sudo systemctl status twitch-api-v3-proxy
78+
6579## Usage with pajbot1
6680
6781If you are planning on using this proxy service with pajbot1,
@@ -112,10 +126,6 @@ have to patch these differences in your application!)
112126 ` rootObject["preview"] ` is different, use ` rootObject["preview"]["medium"] `
113127 to get the original behaviour.
114128
115- ## systemd service filem
116-
117- Example systemd is provided in the repo as ` apiproxy.service ` .
118-
119129## How it works
120130
121131Following is an overview of how the proxy code works:
You can’t perform that action at this time.
0 commit comments