ss/ss-autostart.service
2023-07-10 15:37:30 +08:00

14 lines
259 B
Desktop File

[Unit]
Description=Configure transparent proxy
After=network-online.target
[Service]
Type=simple
User=root
RemainAfterExit=true
Environment="SCRIPT=/path/to/ss.py"
ExecStart=/usr/bin/python ${SCRIPT} up
TimeoutStopSec=2
[Install]
WantedBy=multi-user.target