systemd: remove walls-bot-rs

The unit file has been upstreamed to the walls-bot-rs repository
This commit is contained in:
Harsh Shandilya 2022-07-22 10:35:03 +00:00 committed by GitHub
parent 2a2430ee26
commit 6ce25b308a
2 changed files with 1 additions and 28 deletions

View File

@ -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

View File

@ -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