Systemd support
parent
823b00acc3
commit
920895ff23
@ -0,0 +1,23 @@
|
||||
# opaque-proxy
|
||||
|
||||
A simple HTTP proxy.
|
||||
|
||||
## Usage:
|
||||
|
||||
```
|
||||
npm install -g
|
||||
opaque-proxy
|
||||
```
|
||||
|
||||
then it will listen on port 8383. Then you can make requests like:
|
||||
|
||||
`http://localhost:8383/?url=https://duckduckgo.com`
|
||||
|
||||
## Install as a daemon
|
||||
|
||||
```
|
||||
cp opaque-proxy.service /etc/systemd/system
|
||||
systemctl daemon-reload
|
||||
systemctl enable opaque-proxy
|
||||
systemctl start opaque-proxy
|
||||
```
|
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Simple opaque HTTP proxy
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=opaque-proxy
|
Loading…
Reference in New Issue