Wykres commitów

32 Commity (291a9be8e5d238b8ba5e8a38fb04e4f621bfdca0)

Autor SHA1 Wiadomość Data
Fredrik Öhrström a66baaaf4b Install now uses uucp if dialout does not exist. 2020-09-25 19:46:13 +02:00
Fredrik Öhrström 09821cf389 Rewrote locking from scratch switch to shared_ptr. 2020-09-21 21:55:21 +02:00
Fredrik Öhrström 891e3f4228 Alarm test work again. 2020-09-18 20:05:59 +02:00
Fredrik Öhrström 09e36b8999 Daemon working again. 2020-09-08 23:05:42 +02:00
Fredrik Öhrström 69df7f022a Detect and start wmbus dongles from within wmbusmeters. 2020-08-30 21:33:48 +02:00
Fredrik Öhrström 62dba2c8f6 Re-added wmbusmeters.service 2020-04-03 13:21:21 +02:00
weetmuts 1c0fee6f1f Updated README, re-added StopWhenUnneeded=true 2020-03-08 15:47:39 +01:00
Damian Wrobel 6bb151a96f Fixes for generating systemd service file
Fixes the following warnings:
  - Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring,
    (moved to unit section)
  - PIDFile= references path below legacy directory /var/run/,
    (moved from /var/run -> /run)
  - kill: cannot find process "2>"
    (disable bash variable expansion while generating service file and
     simplify reload command by using $MAINPID systemd variable)

Add documentation url (github, and wmbusmeters(1))

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-03-03 14:02:10 +01:00
Damian Wrobel 21463d51e6 Make wmbusmeters.d directory accessible for the owner
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-03-03 10:23:12 +01:00
Damian Wrobel 7d74511dcb Make easier to packaging wmbumeters for linux
Makefile:
 - Allow to disable stripping of executables as this prevents from
   properly creating debug information sub packages,

 - Don't invoke any git commands when building from released
   tarball. Moreover, when creating an rpm package with additional
   patches then the created git repository is the one in which rpm
   applies patches and not the original one.

 - Allow to pass CXXFLAGS and LDFLAGS as distributions requires all
   packages to be compiled with the same set of flags.

 - Support to override DESTDIR when installing files.

 - Allow to pass additional arguments (EXTRA_INSTALL_OPTION)
   for install.sh script from Makefile.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-03-02 17:33:34 +01:00
Jacek Tomasiak d555f0649f Fix wmbusmetersd symlink
When building the package, install script creates incorrect symlink
pointing to the build directory instead of target root.
2020-02-24 22:31:45 +01:00
weetmuts f99dbadf88 Added --usestderr option. Added version 0x7c to iperl. install.sh now adds user to wmbusmeters group. 2020-02-22 21:16:24 +01:00
weetmuts ffeed3f798 Updated README and fixed auto rtlsdr problem. 2020-02-02 17:05:10 +01:00
weetmuts 611fd75e4c Added helpful messages if service or udev file is updated. 2020-01-19 23:21:17 +01:00
Michal Bursa 919ea6a7d2 add support for multiple dongles to udev rules and systemd service 2020-01-19 22:17:33 +01:00
weetmuts 5d41faf710 Added explicit rfmrx2 device. 2019-10-20 20:39:12 +02:00
weetmuts b762acf875 Updated logrotate script and added reload to systemctl 2019-06-13 16:42:00 +02:00
weetmuts 094fc86e07 Added support for meter shell override. 2019-05-21 14:19:54 +02:00
BIBOLV c8e6e8179f
Update install.sh
Fixing shellcheck issues
2019-04-26 19:32:36 +03:00
BIBOLV 2a5975ac18
Update install.sh
Minor tuning
2019-04-26 17:58:47 +03:00
BIBOLV e8b8bd8da7
Update install.sh 2019-04-25 23:29:15 +03:00
weetmuts 33ec7ecf62 Fix bug in default install config. 2019-04-20 12:57:11 +02:00
weetmuts 545654772b Added automatic extraction of version from git. 2019-04-13 22:58:40 +02:00
weetmuts 43f0d9b051 Exit and print info when background rtl_wmbus process fails to start. 2019-04-03 17:31:51 +02:00
weetmuts 58e89749d3 Updated command line options and added man page 2019-02-26 22:19:16 +01:00
weetmuts dfe8c8bee5 More tests. 2019-02-24 17:31:32 +01:00
weetmuts be8bdf7e55 Daemon now stops if the dongle is unplugged. 2019-02-24 16:51:18 +01:00
weetmuts b6d89334b7 Added logfile support. 2019-02-24 15:20:55 +01:00
weetmuts 1b7dee6c3d Daemon mode now works. Run 'make install' then insert dongle. 2019-02-24 09:58:31 +01:00
weetmuts b68cadfdc8 More work on running as daemon. 2019-02-23 23:11:09 +01:00
weetmuts ca79c0063a More work on packaging as deb. 2019-02-23 19:49:30 +01:00
weetmuts 69cf31ace0 Source cleanup. 2019-02-23 18:30:16 +01:00