Guest User

Untitled

a guest
Jan 19th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. ==/usr/bin/delugepkill.sh==
  2. #!/bin/bash
  3. pkill -f deluge-gtk
  4. exit
  5.  
  6. ==/usr/lib/systemd/system/deluge-gtk-graceful-kill.service==
  7. [Unit]
  8. Description=kills deluge-gtk gracefully on shutdown
  9. After=network.target
  10.  
  11. [Service]
  12. Type=oneshot
  13. ExecStart=/bin/true
  14. ExecStop=/usr/bin/delugepkill.sh
  15. TimeoutSec=0
  16. StandardOutput=tty
  17. RemainAfterExit=yes
  18.  
  19. [Install]
  20. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment