#!/usr/bin/env sh ## Configuration file for OnionJuggler ## ## DO NOT EDIT THIS FILE!! ## ## This file defines the default service selection as shipped in a ## release. Upgrades of OnionJuggler will modify this file. ## ## To select the service options you desire, please override these ## options in the file /etc/onionjuggler/conf.d/*.conf ## ## DO NOT EDIT THIS FILE!! ## ## Lines that begin with "## " try to explain what's going on. Lines ## that begin with just "#" are disabled commands: you can enable them ## by removing the "#" symbol. ## ## If the variable is empty (var=""), will use the default option. ## Double quote to prevent globbing and word splitting. ## variable="value" ## # shellcheck disable=SC2034 if test -f /usr/share/anon-gw-base-files/gateway; then ## Gateway ########## System ########## operating_system="anon-gateway" ## web: should be on the workstation onionjuggler_plugin="auth-server,auth-client" openssl_cmd="openssl" dialog_box="whiptail" ########## tor daemon ########## daemon_control="systemctl" tor_daemon="tor@default" tor_user="debian-tor" tor_conf_user_group="root:root" ## included tor configuration folder, specifically files matching '*.conf' tor_conf_dir="/usr/local/etc/torrc.d" ## manage its own unique torrc to avoid user manual modification tor_conf="${tor_conf_dir}/40_onionjuggler.conf" ## just to set defaults conf, they won't be modified tor_main_torrc_conf="/etc/tor/torrc" tor_defaults_torrc_conf="/usr/share/tor/tor-service-defaults-torrc" tor_data_dir="/var/lib/tor" ## pre-confiured ClientOnionAuthDir tor_data_dir_auth="${tor_data_dir}/authdir" elif test -f /usr/share/anon-ws-base-files/workstation; then ## Workstation ########## System ########## operating_system="anon-workstation" ## web is the only usable plugin for Workstations onionjuggler_plugin="web" webserver="nginx" dialog_box="whiptail" elif ! test -f /usr/share/anon-dist/marker; then error_msg "wrong configuration chosen, this is not an anon dist" exit 1 fi