Minor optimizations

This commit is contained in:
Daniel Winzen
2020-02-29 16:12:10 +01:00
parent c2b010e8e6
commit 7ae817c18f
4 changed files with 5 additions and 4 deletions

View File

@ -407,6 +407,7 @@ HiddenServiceEnableIntroDoSBurstPerSec 100
}
}
file_put_contents("/etc/tor/instances/$instance/torrc", $torrc);
chmod("/etc/tor/instances/$instance/torrc", 0644);
exec('systemctl reload '.escapeshellarg("tor@$instance"));
}