Commit Graph

37 Commits

Author SHA1 Message Date
Patrick Kishino
bd0a19689b Added option to log transmission to docker logs 2019-10-31 13:10:25 +09:00
Kristian Haugene
6bdb5d88cc Case insentitive matching #632 2019-03-17 22:00:14 +01:00
Kristian Haugene
66c7634f18 Standardize scripts, use bash and double brackets 2019-03-09 18:52:06 +01:00
Fidel Ramos
88ea8ead8f Fix arg passing to start/stop script hooks
When using "$*" all arguments ended up as $1 in the hook scripts,
i.e. $2 and forward they were all blank.

Buggy commit was 9242c6aa0.
2018-09-15 10:54:05 +00:00
Kristian Haugene
e86852f273 Merge branch 'master' into dev 2018-07-18 23:22:15 +02:00
Fidel Ramos
9242c6aa08 Pass on arguments to pre and post start/stop hooks
The start.sh and stop.sh scripts receive a set of arguments from
openvpn when invoked from tunnelUp.sh and tunnelDown.sh. They are:

 * $1: network interface for the VPN (e.g. tun0)
 * $2: interface MTU (e.g. 1500)
 * $3: link MTU (e.g. 1570)
 * $4: local IP (e.g. 10.47.10.6)
 * $5: remote IP if TUN (e.g. 10.47.10.5), network mask if TAP
 * $6: "init" or "restart"

This commit makes these arguments available in
transmission-pre-start.sh, transmission-post-start.sh,
transmission-pre-stop.sh and transmission-post-stop.sh.
2018-06-26 15:35:00 +00:00
Philip
6e35ed593f this adds the possibility to configure port forwarding according to the specs of perfect-privacy
(see: https://www.perfect-privacy.com/faq/ section How are the default forwarding ports being calculated?)
2018-04-16 16:07:55 +02:00
davinkevin
182f2f2c70 feat(web-ui): add transmission-web-control UI
This is based upon the project https://github.com/ronggang/transmission-web-control/
2018-03-31 16:44:54 +02:00
Kristian Haugene
291d3b9fa6 Merge pull request #394 from T4cC0re/dev
add option to drop the default route on providers, that do not override it properly
2018-02-21 21:46:53 +01:00
himred
e3d38b2d63 Update start.sh 2018-02-08 10:26:33 +01:00
Ryan Echter
da0c67328e set /bin/bash as shell for user when starting transmission 2018-02-07 22:32:09 -06:00
Kristian Haugene
ae4db89696 Merge pull request #395 from aerickson/True_fixes
Use CVE-patched packages
2018-02-05 20:02:05 +01:00
e7d
b894215d14 Remove sudo dependency 2018-01-19 15:13:29 +01:00
Andrew Erickson
38a4dcfbac using sed to fix True to true 2018-01-17 23:43:19 -08:00
Hendrik Jonas Meyer
e37641653c add option to drop the default route on providers, that do not override it properly 2018-01-16 22:24:17 +01:00
Brian Martin
f63181ba5f restart openvpn if the up script is executed and no ipv4 is bound to the tun0 adapter 2017-11-30 15:08:29 -05:00
pandrez
3f825828ef Added Kettu Web UI 2017-11-19 12:37:07 +00:00
Kristian Haugene
44b0dee395 Fix symlink, add AnonVPN to provider list and remove redundant argument to dockerize 2017-11-18 15:02:14 +01:00
Kristian Haugene
c7a00b3525 Fix build and some restructuring after #324 2017-11-18 14:36:31 +01:00
Garret Hicks
70aef00546 docs and some more tweaks 2017-10-22 09:20:36 -07:00
Garret Hicks
4bc9a89e22 add combustion 2017-10-22 00:18:12 -07:00
Kristian Haugene
b462cdda42 Adding support for setting TRANSMISSION_WEB_HOME env var, #255 2017-07-18 02:25:51 +02:00
Jake Lee
3d1dfc3af9 Use new PIA port forwarding API (2017) 2017-02-09 20:36:26 -08:00
Branden Cash
8cb81cc588 added support for uid/gid ... by default transmission will still run as root so as to not break backwards compatibility. 2016-09-26 23:42:04 -07:00
Kristian Haugene
f1547dfcbe Removing references to tun/tap device name, read from provided parameters 2016-04-03 00:30:17 +02:00
rolandb5
c0a8b6faa8 Update start.sh 2016-03-09 07:48:14 +01:00
Kristian Haugene
e126e6d502 Only symlink /dev/urandom if /dev/random doesn't exist 2015-10-31 18:39:56 +01:00
Matthew Crenshaw
64770087f9 Fix entropy error, enable transmission logging 2015-10-29 12:08:20 -04:00
Doug Daniels
0faafc3a99 Merge remote-tracking branch 'origin/dev' into transmission-resume-torrent
Conflicts:
	transmission/start.sh
	transmission/updatePort.sh
2015-08-13 11:26:21 -05:00
Doug Daniels
8d43c09bfb Closes #23 - Ensure TRANSMISSION_HOME is on a persistent volume to store torrent resume info 2015-08-12 23:57:47 -05:00
Kristian Haugene
0949d82219 moved scripts and templates out of transmission daemon home folder. this allows mounting of /etc/transmission-daemon to keep state, ref issue #22 2015-08-09 21:02:05 +02:00
Kristian Haugene
91ccd7e3dd modified startup scripts to support more vpn providers 2015-08-07 23:07:55 +02:00
Kristian Haugene
63cfc08e99 cleanup some legacy intermediate script 2015-05-25 13:26:23 +02:00
Kristian Haugene
8a3a0b30e9 persist env variables on startup. conform to /bin/sh 2015-05-24 20:40:25 +02:00
Kristian Haugene
0d918b22f9 set fixed transmission-daemon home, move dockerize settings.json till we know tun0 ip 2015-05-24 19:05:05 +02:00
Ian Neubert
ceab19795b Find IP of tun0 during transmission start up and set the configuration to bind to it. Closes #11 2015-05-23 09:30:58 -07:00
Ian Neubert
01cec65568 Renamed files in repo that end up as start.sh inside container to start.sh in the repo too.
Updated all piaconfigs to force tun0
2015-05-23 09:06:08 -07:00