14 lines
259 B
Desktop File
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
|