mirror of https://gitlab.com/bashrc2/epicyon
Replace the tor daemon on debian
parent
00b7cf430f
commit
6d2ecf32ff
17
deploy/onion
17
deploy/onion
|
@ -51,6 +51,23 @@ else
|
||||||
python3-pyqrcode python3-png python3-bandit
|
python3-pyqrcode python3-png python3-bandit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$(uname -a)" == *'Debian'* ]]; then
|
||||||
|
echo 'Fixing the tor daemon'
|
||||||
|
{ echo '[Unit]';
|
||||||
|
echo 'Description=Anonymizing overlay network for TCP (multi-instance-master)';
|
||||||
|
echo '';
|
||||||
|
echo '[Service]';
|
||||||
|
echo 'Type=simple';
|
||||||
|
echo 'User=root';
|
||||||
|
echo 'Group=debian-tor';
|
||||||
|
echo 'ExecStart=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0';
|
||||||
|
echo '';
|
||||||
|
echo '[Install]';
|
||||||
|
echo 'WantedBy=multi-user.target'; } > /lib/systemd/system/tor.service
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart tor
|
||||||
|
fi
|
||||||
|
|
||||||
echo 'Cloning the epicyon repo'
|
echo 'Cloning the epicyon repo'
|
||||||
if [ ! -d ${install_destination} ]; then
|
if [ ! -d ${install_destination} ]; then
|
||||||
git clone https://gitlab.com/bashrc2/epicyon ${install_destination}
|
git clone https://gitlab.com/bashrc2/epicyon ${install_destination}
|
||||||
|
|
Loading…
Reference in New Issue