I see that my raspbian is running the transmission-daemon.service is running with the log parameter-
pi@raspberrypi:~ $ sudo systemctl status transmission-daemon.service ● transmission-daemon.service - Transmission BitTorrent Daemon Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled) Active: active (running) since Wed 2017-01-25 12:18:13 IST; 30min ago Main PID: 739 (transmission-da) Status: "Idle." CGroup: /system.slice/transmission-daemon.service └─739 /usr/bin/transmission-daemon -f --log-error
However inorder to run this service with the logging enabled, i need to start this service with the switch
--log-file <path to the log file>. In that way i need this service to be run as
/usr/bin/transmission-daemon -f --log-error --log-file /var/log/transmission.log.
I can disable this existing service using
sudo systemctl disable transmission-daemon.service, But not sure on how to recreate this service with the new switches.