Update x-ui.sh

deleted 'sudo'
This commit is contained in:
menschenfresser 2026-02-27 15:35:37 +07:00 committed by GitHub
parent aea0b38145
commit 9e669d416e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1763,14 +1763,14 @@ create_honeypot() {
</VirtualHost>""" >> /etc/apache2/sites-available/spacesaver.conf
# Restarting apache server
sudo systemctl reload apache2
systemctl reload apache2
# Access rights to HoneyPot's files
sudo chown -R www-data:www-data /var/www/html/SpaceSaver
sudo chmod -R 755 /var/www/html/SpaceSaver
chown -R www-data:www-data /var/www/html/SpaceSaver
chmod -R 755 /var/www/html/SpaceSaver
chmod 644 /var/www/html/SpaceSaver/index.html
sudo systemctl reload apache2
systemctl reload apache2
echo -e "${green}${plain}Done!"
echo -e "${green}${plain}Available here -> http://$server_ip:80"