#!/bin/sh # # Update the transmission settings.json. For the update, stop transmission, # put the new file in place, and restart it. # set -e systemctl stop transmission-daemon cp /etc/transmission-daemon/settings-ansible.json /etc/transmission-daemon/settings.json chmod 0660 /etc/transmission-daemon/settings.json systemctl start transmission-daemon