From d4c08a3c625e29040e0680ac31e437bc6966246e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 24 Jan 2020 14:49:15 +0530 Subject: [PATCH] Remove pyrobud Signed-off-by: Harsh Shandilya --- systemd_units/pyrobud.service | 35 ----------------------------------- systemd_units/update.sh | 2 +- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 systemd_units/pyrobud.service diff --git a/systemd_units/pyrobud.service b/systemd_units/pyrobud.service deleted file mode 100644 index b1de8f6..0000000 --- a/systemd_units/pyrobud.service +++ /dev/null @@ -1,35 +0,0 @@ -[Unit] -Description=Pyrobud Telegram selfbot -After=multi-user.target - -[Service] -# Base settings -Type=simple -Restart=always -RestartSec=10 - -# Execution parameters -User=pyrobud -Group=pyrobud -WorkingDirectory=/home/pyrobud/pyrobud -ExecStart=/home/pyrobud/venv/bin/python -O /home/pyrobud/pyrobud/main.py - -# Limit damage in case something goes awry -MemoryLimit=256M -CPUQuota=200% - -# Security -PrivateTmp=true -ProtectSystem=full -NoNewPrivileges=true -ProtectControlGroups=true -ProtectKernelModules=true -ProtectKernelTunables=true -PrivateDevices=true -RestrictAddressFamilies=AF_INET AF_INET6 -RestrictNamespaces=true -RestrictRealtime=true -SystemCallArchitectures=native - -[Install] -WantedBy=multi-user.target diff --git a/systemd_units/update.sh b/systemd_units/update.sh index d24ce1d..1845ccc 100755 --- a/systemd_units/update.sh +++ b/systemd_units/update.sh @@ -8,7 +8,7 @@ function prettyPrint { } # Grab all service names -declare -a services=('caddy' 'goaccess' 'mirror-bot' 'mirror-bot-2' 'mkr-bin' 'pyrobud' 'walls-bot') +declare -a services=('caddy' 'goaccess' 'mirror-bot' 'mirror-bot-2' 'mkr-bin' 'walls-bot') # Now loop through each service and install it for service in "${services[@]}"; do