diff --git a/systemd_units/uno-bot.service b/systemd_units/uno-bot.service deleted file mode 100644 index d4513b4..0000000 --- a/systemd_units/uno-bot.service +++ /dev/null @@ -1,30 +0,0 @@ -[Unit] -Description=UNO Telegram bot service -After=network.target - -[Service] -Restart=on-abort -Type=simple -User=bot -WorkingDirectory=/home/bot/mau_mau_bot -ExecStart=/home/bot/mau_mau_bot/venv/bin/python bot.py -ExecReload=/bin/kill -USR1 $MAINPID -KillMode=mixed -KillSignal=SIGQUIT -TimeoutStopSec=5s - -# 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 faf9ea8..d24ce1d 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' 'uno-bot' 'walls-bot') +declare -a services=('caddy' 'goaccess' 'mirror-bot' 'mirror-bot-2' 'mkr-bin' 'pyrobud' 'walls-bot') # Now loop through each service and install it for service in "${services[@]}"; do