mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 10:37:02 +05:30
Remove pyrobud
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
c106d22135
commit
d4c08a3c62
2 changed files with 1 additions and 36 deletions
|
@ -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
|
|
|
@ -8,7 +8,7 @@ function prettyPrint {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grab all service names
|
# 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
|
# Now loop through each service and install it
|
||||||
for service in "${services[@]}"; do
|
for service in "${services[@]}"; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue