{{{#!comment Credit for the steps goes to: https://gist.github.com/j10io/6877030 }}} Optionally create a new `deluge` user for running the service: http://support.apple.com/kb/PH6651 To create a `LaunchDaemon` for Deluge, create `/Library/LaunchDaemons/com.deluged.plist` using the script below. This script uses user 'deluge', created in the first step so replace if other user required. ''Note: The path to deluge assumes installation using Macports and will need modified if using `Deluge.app`.'' {{{ Label com.deluged ProgramArguments /opt/local/bin/deluged-2.7 -d UserName deluge RunAtLoad KeepAlive }}} Set the service to load on startup: {{{ sudo launchctl load -w /Library/LaunchDaemons/com.deluged.plist }}} To start it immediately without reboot: {{{ sudo launchctl start com.deluged }}}