diff --git a/systemd_units/update.sh b/systemd_units/update.sh index 752942b..07157ed 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' 'gitea' 'mirror-bot' 'mirror-bot-2' 'uno-bot' 'walls-bot' 'walls-bot-2') +declare -a services=('caddy' 'gitea' 'mirror-bot' 'mirror-bot-2' 'uno-bot' 'walls-bot') # Now loop through each service and install it for service in "${services[@]}"; do diff --git a/systemd_units/walls-bot-2.service b/systemd_units/walls-bot-2.service deleted file mode 100644 index e6b1454..0000000 --- a/systemd_units/walls-bot-2.service +++ /dev/null @@ -1,24 +0,0 @@ -[Unit] -Description=Phone walls bot service -After=network.target - -[Service] -Restart=on-abort -Type=simple -User=bot -WorkingDirectory=/home/bot/walls-bot-2 -ExecStart=/home/bot/walls-bot/gradlew run -ExecReload=/bin/kill -USR1 $MAINPID -KillMode=mixed -KillSignal=SIGQUIT -TimeoutStopSec=5s -PrivateTmp=true -PrivateDevices=false -ProtectSystem=full -CPUWeight=10 -CPUQuota=10% -IOWeight=20 -MemorySwapMax=1 - -[Install] -WantedBy=multi-user.target