[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