## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC ## See the file COPYING for copying conditions. #### meta start #### project Whonix #### category networking and tor-control #### non_qubes_whonix_only yes #### gateway_only yes #### description ## onion-grater systemd unit file extension ## ## Run /usr/lib/onion-grater-merger as root to avoid permission ## conflicts. ## ExecStartPre=+/usr/lib/onion-grater-merger ## ## Reconfigure onion-grater to listen on network interface ## eth1. #### meta end [Service] ## Extend onion-grater default systemd unit file ## /lib/systemd/system/onion-grater.service with 'ExecStartPre'. ## The plus ("+") sign results in running the following command as root. ## Run /usr/lib/onion-grater-merger as root to avoid permission conflicts. ExecStartPre=+/usr/lib/onion-grater-merger ## Clear onion-grater default file '/lib/systemd/system/onion-grater.service'. ExecStart= ## Start onion-grater with listening on interface eth1 explicitly. ExecStart=/usr/lib/onion-grater --listen-interface eth1 --listen-port 9051 ## Same as above but enable debug mode. #ExecStart=/usr/lib/onion-grater --listen-interface eth1 --listen-port 9051 --debug ## Same as above but enable complain mode which permits everything (insecure in production). #ExecStart=/usr/lib/onion-grater --listen-interface eth1 --listen-port 9051 --complain