From 553dbf628cb3d9b5333b68c7d7f0d5157f8a59ed Mon Sep 17 00:00:00 2001 From: Kristian Haugene Date: Sun, 24 May 2015 21:54:23 +0200 Subject: [PATCH] use same script names inside and outside container. cleaner adding them as well --- Dockerfile | 8 +------- transmission/{defaultSettings.tmpl => settings.tmpl} | 0 transmission/{runUpdates.sh => startPortUpdates.sh} | 0 transmission/{down.sh => stop.sh} | 0 transmission/{updateTransmissionPort.sh => updatePort.sh} | 0 5 files changed, 1 insertion(+), 7 deletions(-) rename transmission/{defaultSettings.tmpl => settings.tmpl} (100%) rename transmission/{runUpdates.sh => startPortUpdates.sh} (100%) rename transmission/{down.sh => stop.sh} (100%) rename transmission/{updateTransmissionPort.sh => updatePort.sh} (100%) diff --git a/Dockerfile b/Dockerfile index 51abb2a..10937e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,13 +21,7 @@ RUN apt-get update \ ADD piaconfig/* /etc/openvpn/ ADD piaconfig/ca.crt /etc/openvpn/ca.crt ADD piaconfig/crl.pem /etc/openvpn/crl.pem -ADD transmission/defaultSettings.tmpl /etc/transmission-daemon/settings.tmpl -ADD transmission/updateTransmissionPort.sh /etc/transmission-daemon/updatePort.sh -ADD transmission/periodicUpdates.sh /etc/transmission-daemon/periodicUpdates.sh -ADD transmission/start.sh /etc/transmission-daemon/start.sh -ADD transmission/runUpdates.sh /etc/transmission-daemon/startPortUpdates.sh -ADD transmission/down.sh /etc/transmission-daemon/stop.sh -ADD transmission/environment-variables.tmpl /etc/transmission-daemon/environment-variables.tmpl +ADD transmission/* /etc/transmission-daemon/ ADD start.sh /etc/openvpn/start.sh ENV PIA_USERNAME=**None** \ diff --git a/transmission/defaultSettings.tmpl b/transmission/settings.tmpl similarity index 100% rename from transmission/defaultSettings.tmpl rename to transmission/settings.tmpl diff --git a/transmission/runUpdates.sh b/transmission/startPortUpdates.sh similarity index 100% rename from transmission/runUpdates.sh rename to transmission/startPortUpdates.sh diff --git a/transmission/down.sh b/transmission/stop.sh similarity index 100% rename from transmission/down.sh rename to transmission/stop.sh diff --git a/transmission/updateTransmissionPort.sh b/transmission/updatePort.sh similarity index 100% rename from transmission/updateTransmissionPort.sh rename to transmission/updatePort.sh