From 0db6ed23b2750d90e78736c8f3f3f752c699e176 Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Fri, 19 Nov 2021 13:38:34 +0100 Subject: [PATCH] postinstallscript now enables the background service explicitly --- build_deb.sh | 2 +- compLib/__init__.py | 2 +- postinstall.sh | 3 +++ setup.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build_deb.sh b/build_deb.sh index f439649..a2912d2 100755 --- a/build_deb.sh +++ b/build_deb.sh @@ -34,7 +34,7 @@ fpm -s python --python-bin python3 --python-pip pip3 --python-package-name-prefi -d "python3-pigpio" \ -d "python3-numpy" \ -d "ffmpeg" \ - -v 0.3.0-0 -t deb setup.py + -v 0.3.1-0 -t deb setup.py # --deb-changelog changelog \ # --deb-upstream-changelog changelog \ diff --git a/compLib/__init__.py b/compLib/__init__.py index 6cd3aac..58f11e4 100644 --- a/compLib/__init__.py +++ b/compLib/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.0-0" +__version__ = "0.3.1-0" import importlib import compLib.LogstashLogging diff --git a/postinstall.sh b/postinstall.sh index 80799f7..357fe4b 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -58,3 +58,6 @@ CiBfX19fX18gICAgIF9fX19fXyAgICAgX18gICAgX18gICAgIF9fX19fXyAgIF9fICAgICAgICAgX18g UPD echo "" echo "" + +service complib restart +systemctl enable complib diff --git a/setup.py b/setup.py index 8edafdf..9f9ea2b 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ else: setuptools.setup( name="complib", - version="0.3.0-0", + version="0.3.1-0", author="F-WuTs", author_email="--", description="",