Self-Cpa-Cleaner / CLIProxyAPI-cleaner-web.service
KJ20051223
refactor: rename project to CLIProxyAPI-cleaner and add bilingual docs
21f1556
Raw History Blame Contribute Delete
532 Bytes
[Unit]
Description=CLIProxyAPI-cleaner Web Console
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/CLIProxyAPI-cleaner
ExecStart=/usr/bin/python3 /opt/CLIProxyAPI-cleaner/app.py
Restart=always
RestartSec=3
User=root
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ReadWritePaths=/opt/CLIProxyAPI-cleaner /root /var/log /tmp
StandardOutput=append:/opt/CLIProxyAPI-cleaner/web.log
StandardError=append:/opt/CLIProxyAPI-cleaner/web.log
[Install]
WantedBy=multi-user.target