#!/bin/bash
#
# [QuickBox Reload Script - rtorrent|irssi]
#
# GitHub:   https://github.com/QuickBox/quickbox_packages
# Author:   QuickBox.io | Swizards
# URL:      https://plaza.quickbox.io
#
# QuickBox Copyright (C) 2017 QuickBox.io
# Licensed under GNU General Public License v3.0 GPL-3 (in short)
#
#   You may copy, distribute and modify the software as long as you track
#   changes/dates in source files. Any modifications to our software
#   including (via compiler) GPL-licensed code must also be made available
#   under the GPL along with build & install instructions.
#
OUTTO=/dev/null
export USER=$(id -un)
pkill -u $USER irssi >/dev/null 2>&1
pkill -u $USER rtorrent >/dev/null 2>&1
killall -u $USER main >/dev/null 2>&1
rm -rf ~/.sessions/rtorrent.lock
