Compare commits
2 Commits
a8b6d1dae4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f9ab457d7 | |||
| aff2b6b340 |
@@ -1,18 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Unsloth Studio CORS Proxy
|
Description=Unsloth Studio CORS Proxy
|
||||||
Documentation=https://github.com/NikkeDoy/CORSProxy
|
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/python3 /opt/CORSProxy/main.py --target 127.0.0.1:8888 --listen 8080
|
ExecStart=/usr/bin/python /path/to/CORSProxy/main.py
|
||||||
WorkingDirectory=/opt/CORSProxy
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
NoNewPrivileges=yes
|
|
||||||
ProtectSystem=strict
|
|
||||||
ProtectHome=yes
|
|
||||||
CapabilityBoundingSet=
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target multi-user.target
|
WantedBy=default.target multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user