diff --git a/security/tor/Makefile b/security/tor/Makefile index 5c19670bb..452ca6ddc 100644 --- a/security/tor/Makefile +++ b/security/tor/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= tor PLUGIN_VERSION= 1.8 -PLUGIN_REVISION= 3 +PLUGIN_REVISION= 4 PLUGIN_COMMENT= The Onion Router PLUGIN_DEPENDS= tor ruby PLUGIN_MAINTAINER= franz.fabian.94@gmail.com diff --git a/security/tor/src/opnsense/service/conf/actions.d/actions_tor.conf b/security/tor/src/opnsense/service/conf/actions.d/actions_tor.conf index ad3672a4f..202c4389c 100644 --- a/security/tor/src/opnsense/service/conf/actions.d/actions_tor.conf +++ b/security/tor/src/opnsense/service/conf/actions.d/actions_tor.conf @@ -1,5 +1,5 @@ [start] -command:/usr/local/opnsense/scripts/tor/setup.sh;/usr/local/etc/rc.d/tor start +command:/usr/local/etc/rc.d/tor start parameters: type:script message:starting tor @@ -11,13 +11,13 @@ type:script message:stopping tor [restart] -command:/usr/local/opnsense/scripts/tor/setup.sh;/usr/local/etc/rc.d/tor restart +command:/usr/local/etc/rc.d/tor restart parameters: type:script message:restarting tor [status] -command:/usr/local/etc/rc.d/tor status;exit 0 +command:/usr/local/etc/rc.d/tor status; exit 0 parameters: type:script_output message:request tor status diff --git a/security/tor/src/opnsense/service/templates/OPNsense/Tor/tor b/security/tor/src/opnsense/service/templates/OPNsense/Tor/tor index 5816e2602..98de5860c 100644 --- a/security/tor/src/opnsense/service/templates/OPNsense/Tor/tor +++ b/security/tor/src/opnsense/service/templates/OPNsense/Tor/tor @@ -1,5 +1,5 @@ {% if helpers.exists('OPNsense.tor.general.enabled') and OPNsense.tor.general.enabled == '1' %} -tor_var_script="/usr/local/opnsense/scripts/tor/setup.sh" +tor_setup="/usr/local/opnsense/scripts/tor/setup.sh" tor_enable="YES" {% else %} tor_enable="NO"