diff --git a/debian/changelog b/debian/changelog index 4fffffd..da66779 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,10 @@ -daliserver (0.3) UNRELEASED; urgency=medium +daliserver (0.4) unstable; urgency=medium + + * Add systemd unit, SysV init script is kept for compatibility + + -- Gregor Riepl Mon, 12 Feb 2024 00:32:54 +0100 + +daliserver (0.3) unstable; urgency=medium * Numerous bug fixes (thanks to all contributors!) * Debian packaging cleanup, hardening diff --git a/debian/compat b/debian/compat index ec63514..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/debian/daliserver.default b/debian/daliserver.default index c107d75..19d2e2d 100644 --- a/debian/daliserver.default +++ b/debian/daliserver.default @@ -1,6 +1,8 @@ # Additional options for daliserver +# -d sets the logging level (fatal, error, warn, info, default=info) # -n enables testing mode without USB connectivity -# -l sets the listening address (use 0.0.0.0 to listen on all interfaces) -# -p changes the port +# -u only map to one specific USB port (will use the first found otherwise) +# -l
sets the listening address (use 0.0.0.0 to listen on all interfaces, default=127.0.0.1) +# -p changes the TCP port (default=55825) DALISERVER_OPTS="" diff --git a/debian/daliserver.service b/debian/daliserver.service new file mode 100644 index 0000000..c8b6525 --- /dev/null +++ b/debian/daliserver.service @@ -0,0 +1,10 @@ +[Unit] +Description=DALI USB adapter multiplexer + +[Service] +# see the defaults file for useful options +EnvironmentFile=-/etc/default/daliserver +ExecStart=/usr/bin/daliserver ${DALISERVER_OPTS} + +[Install] +WantedBy=multi-user.target diff --git a/perl/lampcheck.pl b/perl/lampcheck.pl old mode 100644 new mode 100755