Skip to content

Instantly share code, notes, and snippets.

@DrDoctor13
DrDoctor13 / UpdateOrigin.sh
Last active September 6, 2018 15:12
Origin Updater
#!/bin/bash
echo "Downloading latest Origin setup file"
sleep 1
wget "https://download.dm.origin.com/origin/live/OriginSetup.exe"
echo "Extracting to .zip file"
@DrDoctor13
DrDoctor13 / gist:42168677f5c2a39594f5ab438c25cdb2
Created January 10, 2018 19:34
Deluge peaceful kill service
==/usr/bin/delugepkill.sh==
#!/bin/bash
pkill -f deluge-gtk
exit
==/usr/lib/systemd/system/deluge-gtk-graceful-kill.service==
[Unit]
Description=kills deluge-gtk gracefully on shutdown
After=network.target