Skip to content

Commit

Permalink
removed /etc/ebusd for changed config service URL
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Apr 4, 2018
1 parent a36174c commit 6ec3ef6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 26 deletions.
6 changes: 2 additions & 4 deletions contrib/archlinux/ebusd.install
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ post_install() {
echo "Instructions:"
echo "1. Edit /etc/conf.d/ebusd if necessary"
echo " (especially if your device is not /dev/ttyUSB0)"
echo "2. Place CSV configuration files in /etc/ebusd/"
echo " (see https://github.com/john30/ebusd-configuration)"
echo "3. To start the daemon, enter 'systemctl start ebusd'"
echo "4. Check the log file /var/log/ebusd.log"
echo "2. To start the daemon, enter 'systemctl start ebusd'"
echo "3. Check the log file /var/log/ebusd.log"
}

4 changes: 0 additions & 4 deletions contrib/docker/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ WORKDIR /

RUN rm -rf /build

RUN mkdir -p /etc/ebusd \
&& curl -SL https://github.com/john30/ebusd-configuration/archive/master.tar.gz \
| tar xz --strip-components=3 -C /etc/ebusd ebusd-configuration-master/ebusd-2.1.x/de

EXPOSE 8888

COPY runtime/docker-entrypoint.sh /
Expand Down
3 changes: 0 additions & 3 deletions contrib/docker/release/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN dpkg -i ebusd.deb

RUN rm ebusd.deb

RUN curl -SL https://github.com/john30/ebusd-configuration/archive/master.tar.gz \
| tar xz --strip-components=3 -C /etc/ebusd ebusd-configuration-master/ebusd-2.1.x/de

EXPOSE 8888

COPY docker-entrypoint.sh /
Expand Down
3 changes: 0 additions & 3 deletions contrib/docker/runtime/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN dpkg -i ebusd.deb

RUN rm ebusd.deb

RUN curl -SL https://github.com/john30/ebusd-configuration/archive/master.tar.gz \
| tar xz --strip-components=3 -C /etc/ebusd ebusd-configuration-master/ebusd-2.1.x/de

EXPOSE 8888

COPY docker-entrypoint.sh /
Expand Down
19 changes: 7 additions & 12 deletions make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ echo "*************"
echo " pack"
echo "*************"
echo
mkdir -p $RELEASE/DEBIAN $RELEASE/etc/default $RELEASE/etc/ebusd $RELEASE/etc/logrotate.d || exit 1
mkdir -p $RELEASE/DEBIAN $RELEASE/etc/default $RELEASE/etc/logrotate.d || exit 1
rm $RELEASE/usr/bin/ebusfeed
if [ -d /run/systemd/system ]; then
mkdir -p $RELEASE/lib/systemd/system || exit 1
Expand All @@ -93,7 +93,6 @@ else
cp contrib/debian/init.d/ebusd $RELEASE/etc/init.d/ebusd || exit 1
fi
cp contrib/debian/default/ebusd $RELEASE/etc/default/ebusd || exit 1
cp contrib/etc/ebusd/* $RELEASE/etc/ebusd/ || exit 1
cp contrib/etc/logrotate.d/ebusd $RELEASE/etc/logrotate.d/ || exit 1
cp ChangeLog.md $RELEASE/DEBIAN/changelog || exit 1
cat <<EOF > $RELEASE/DEBIAN/control
Expand Down Expand Up @@ -123,11 +122,9 @@ if [ -d /run/systemd/system ]; then
echo "Instructions:"
echo "1. Edit /etc/default/ebusd if necessary"
echo " (especially if your device is not /dev/ttyUSB0)"
echo "2. Place CSV configuration files in /etc/ebusd/"
echo " (see https://github.com/john30/ebusd-configuration)"
echo "3. Start the daemon with 'systemctl start ebusd'"
echo "4. Check the log file /var/log/ebusd.log"
echo "5. Make the daemon autostart with 'systemctl enable ebusd'"
echo "2. Start the daemon with 'systemctl start ebusd'"
echo "3. Check the log file /var/log/ebusd.log"
echo "4. Make the daemon autostart with 'systemctl enable ebusd'"
EOF
else
echo /etc/init.d >> $RELEASE/DEBIAN/dirs
Expand All @@ -136,11 +133,9 @@ else
echo "Instructions:"
echo "1. Edit /etc/default/ebusd if necessary"
echo " (especially if your device is not /dev/ttyUSB0)"
echo "2. Place CSV configuration files in /etc/ebusd/"
echo " (see https://github.com/john30/ebusd-configuration)"
echo "3. Start the daemon with 'service ebusd start'"
echo "4. Check the log file /var/log/ebusd.log"
echo "5. Make the daemon autostart with 'update-rc.d ebusd enable'"
echo "2. Start the daemon with 'service ebusd start'"
echo "3. Check the log file /var/log/ebusd.log"
echo "4. Make the daemon autostart with 'update-rc.d ebusd enable'"
EOF
fi
chmod 755 $RELEASE/DEBIAN/postinst
Expand Down

0 comments on commit 6ec3ef6

Please sign in to comment.