Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/transmission/files/transmission.in
- This file was moved from net-p2p/transmission-cli/files/transmission.in.
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | if checkyesno transmission_chown; then | ||||
| chmod 750 $transmission_conf_dir | chmod 750 $transmission_conf_dir | ||||
| fi | fi | ||||
| if [ -n "$transmission_web_home" ]; then | if [ -n "$transmission_web_home" ]; then | ||||
| TRANSMISSION_WEB_HOME=$transmission_web_home | TRANSMISSION_WEB_HOME=$transmission_web_home | ||||
| export TRANSMISSION_WEB_HOME | export TRANSMISSION_WEB_HOME | ||||
| fi | fi | ||||
| } | } | ||||
| # Unfortunately there was a typo in a previous version, which may have | |||||
| # left some people with /var/run/transmission/damon.pid . Deal with | |||||
| # this for a few months at least, until everyone will have restarted | |||||
| # transmission | |||||
| if [ ! -f $pidfile -a -f /var/run/transmission/damon.pid ]; then | |||||
| pidfile=/var/run/transmission/damon.pid | |||||
| fi | |||||
| run_rc_command $1 | run_rc_command $1 | ||||