youtubeUnblock/youtubeUnblock.service

14 lines
392 B
SYSTEMD
Raw Normal View History

[Unit]
Description=youtubeUnblock
[Service]
StandardError=journal
StandardOutput=journal
StandardInput=null
2024-07-31 10:51:51 +00:00
ExecStartPre=iptables -t mangle -A OUTPUT -p tcp --dport 443 -j NFQUEUE --queue-num 537 --queue-bypass
ExecStart=$(PREFIX)/bin/youtubeUnblock 537
2024-07-31 10:51:51 +00:00
ExecStop=iptables -t mangle -D OUTPUT -p tcp --dport 443 -j NFQUEUE --queue-num 537 --queue-bypass
[Install]
WantedBy=multi-user.target