20 lines
316 B
Desktop File
20 lines
316 B
Desktop File
[Unit]
|
|
Description=BlockBot Daemon
|
|
After=network.target
|
|
After=akkoma.service
|
|
After=postgresql@15-main.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
|
|
|
|
ExecStart=/usr/bin/bash /opt/blockbot/bot.sh daemon &
|
|
ExecStop=/usr/bin/killall -9 bot.sh
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|