From 6ce25b308a3257070c9d37ebd94e4ee1d1942056 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 22 Jul 2022 10:35:03 +0000 Subject: [PATCH] systemd: remove walls-bot-rs The unit file has been upstreamed to the walls-bot-rs repository --- systemd_units/update.sh | 2 +- systemd_units/walls-bot-rs.service | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 systemd_units/walls-bot-rs.service diff --git a/systemd_units/update.sh b/systemd_units/update.sh index 3b23f67..1efa33f 100755 --- a/systemd_units/update.sh +++ b/systemd_units/update.sh @@ -8,7 +8,7 @@ function prettyPrint() { } # Grab all service names -declare -a services=('mirror-bot' 'mirror-bot-2' 'uno-bot' 'walls-bot-rs') +declare -a services=('mirror-bot' 'uno-bot') # Now loop through each service and install it for service in "${services[@]}"; do diff --git a/systemd_units/walls-bot-rs.service b/systemd_units/walls-bot-rs.service deleted file mode 100644 index c30f133..0000000 --- a/systemd_units/walls-bot-rs.service +++ /dev/null @@ -1,27 +0,0 @@ -[Unit] -Description=walls-bot-rs service -After=network.target - -[Service] -Restart=on-abort -Type=simple -User=bot -WorkingDirectory=/home/bot -EnvironmentFile=/home/bot/walls-bot.config -ExecStart=/usr/bin/walls-bot-rs -ExecReload=/bin/kill -USR1 $MAINPID -KillMode=mixed -KillSignal=SIGINT -TimeoutStopSec=10s - -# Security -PrivateTmp=true -ProtectSystem=full -ProtectControlGroups=true -ProtectKernelModules=true -ProtectKernelTunables=true -PrivateDevices=true -SystemCallArchitectures=native - -[Install] -WantedBy=multi-user.target