feat: add build restproxy to the input
This commit is contained in:
11
pkg/goproxy/systemd/restproxy.service
Executable file
11
pkg/goproxy/systemd/restproxy.service
Executable file
@@ -0,0 +1,11 @@
|
||||
[Service]
|
||||
Type=idle
|
||||
WorkingDirectory=/usr/local/restproxy
|
||||
ExecStart=/usr/local/restproxy/restproxy -r 1 > /dev/null 2>&1 &
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user