Files found from an AUR source that appears to be dead. This is my attempt to keep it going if the original author has abandoned it.
Two files to be installed:
/usr/lib/systemd/deluge-gtk-graceful-kill.service
/usr/bin/delugepkill.sh
[Unit] | |
Description=kills deluge-gtk gracefully on shutdown | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/true | |
ExecStop=/usr/bin/delugepkill.sh | |
TimeoutSec=0 | |
StandardOutput=tty | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
#!/bin/bash | |
pkill -f deluge-gtk | |
exit |