mirror of
https://github.com/msfjarvis/server-config.git
synced 2024-06-03 12:18:57 +05:30
systemd: remove walls-bot-rs
The unit file has been upstreamed to the walls-bot-rs repository
This commit is contained in:
parent
2a2430ee26
commit
6ce25b308a
|
@ -8,7 +8,7 @@ function prettyPrint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grab all service names
|
# 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
|
# Now loop through each service and install it
|
||||||
for service in "${services[@]}"; do
|
for service in "${services[@]}"; do
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user