21 lines
460 B
Desktop File
21 lines
460 B
Desktop File
[Unit]
|
|
Description=Kaoyan proxy-pool fetching and validation
|
|
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 schedule
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
UMask=0077
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|