2
0
python-capport/contrib/systemd/capport-shaping.service.erb

16 lines
319 B
Plaintext
Raw Permalink Normal View History

2023-01-13 14:05:05 +01:00
[Unit]
Description=Captive Portal traffic shaping
Wants=basic.target
After=basic.target network.target
[Service]
Type=oneshot
RemainAfterExit=yes
StandardInput=null
ProtectSystem=full
ProtectHome=true
ExecStart=/etc/capport-tc.sh <%= @uplink_interface %> <%= @client_interface %>
[Install]
WantedBy=multi-user.target