Files
kaoyan/deploy/kaoyan-proxy-api.service

21 lines
438 B
Desktop File

[Unit]
Description=Kaoyan proxy-pool API
After=network-online.target docker.service
Wants=network-online.target
Requires=docker.service
[Service]
User=kaoyan
Group=kaoyan
WorkingDirectory=/opt/kaoyan-studio-deploy/proxy_pool
ExecStart=/opt/kaoyan-studio-deploy/proxy-venv/bin/python proxyPool.py server
Restart=on-failure
RestartSec=10
UMask=0077
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
[Install]
WantedBy=multi-user.target