Commit Graph

75 Commits

Author SHA1 Message Date
Jan-Piet Mens
f6af33f6e2 add kill API to packages
closes #153
2016-09-24 14:44:06 +02:00
Jan-Piet Mens
6638a3b20b new configuration variable OTR_BROWSERAPIKEY
addresses #146
2016-09-12 19:15:36 +02:00
Oluf Lorenzen
f71c84c746 make defaults-file source'able
with the spaces in there 'source' wont work
2016-09-11 18:13:19 +02:00
Jan-Piet Mens
c4886f5265 remove standard MQTT topic from systemd unit 2016-08-31 11:12:16 +02:00
Alex Jordan
b128eceb47 Remove usage instructions in the systemd unit
This isn't really a great place for these, and they're not very complete
anyway. Better to put this in the proper docs, where it'll be obvious
and complete.
2016-08-16 18:43:08 -04:00
Alex Jordan
579f453087 Pass the standard MQTT topic in the systemd unit
Add the standard OwnTracks MQTT topic as the first argument to
`ot-recorder` in the service file. This provides a usable experience out
of the box (otherwise the service file will fail with a help message).
2016-08-16 18:37:03 -04:00
Alex Jordan
997573828b Remove deprecated syntax in systemd unit file
No point showing this in new installs.
2016-08-16 18:34:21 -04:00
Alex Jordan
d79692136c Don't send stdout and stderr to custom locations
If the user is on systemd it's reasonable to assume that they are also
using journald. This is the default on most (all?) systemd systems and
any admin who configures their system to send things to syslog instead
of journald can deal with one more thing that needs to be
changed.

Therefore, optimize for the majority and send logs to the default
journald. Additionally, don't send stdout to /dev/null because this
isn't the norm with systemd; stdout can provide valuable debugging
information; and journald provides facilities for filtering out stdout
in log output.
2016-08-16 18:26:59 -04:00
Alex Jordan
5da7a5eb45 Don't automatically restart the systemd service
This isn't the normal way that systemd service files are written, and
lots of admins will probably be surprised to find that this is
happening. Therefore, remove it from the default configuration.

This is especially relevant given that the default ExecStart command
produces a help message, which causes systemd to mark the unit as
failed. This causes an infinite restart loop on default installs.
2016-08-16 18:20:11 -04:00
Jan-Piet Mens
f54cbb0de5 Debian package dependent on libsodium13 2016-07-21 08:11:34 +02:00
Jan-Piet Mens
20bf73daf8 hack to appease docker builds 2016-07-19 15:35:28 +02:00
Jan-Piet Mens
ca57b43a96 try again 2016-07-19 14:47:35 +02:00
Jan-Piet Mens
5ab33fa5dc package version for debian repo 2016-07-19 14:27:50 +02:00
Jan-Piet Mens
ffca52241a specify debian version in package filenames 2016-07-19 13:44:35 +02:00
Jan-Piet Mens
ae6fde49c5 postinstalls 2016-05-31 16:38:59 +02:00
Jan-Piet Mens
4738cca914 install service on debian 2016-05-31 16:36:21 +02:00
Jan-Piet Mens
30bcd0d935 postinstall centos service 2016-05-31 15:58:23 +02:00
Jan-Piet Mens
c164b32d41 adjust 2016-05-31 15:36:15 +02:00
Jan-Piet Mens
6bbfa64f96 fix Centos install dir 2016-05-31 14:45:47 +02:00
Jan-Piet Mens
535bc20a7a adjust paths to binaries 2016-05-30 09:16:46 +02:00
Jan-Piet Mens
08c623051a revert config file location debian 2016-05-30 08:53:47 +02:00
Jan-Piet Mens
395e9f8969 add a comment about comments 2016-05-24 11:36:32 +02:00
JP Mens
64eb0bf984 Merge pull request #114 from t-8ch/native_debian
Native debian packaging
2016-04-11 09:58:48 +02:00
Jan-Piet Mens
0b389bfe6a add repository public key
closes #113
2016-04-11 09:53:47 +02:00
Thomas Weißschuh
b08c36cd47 use more idomatic config for Debian 2016-03-31 18:33:03 +00:00
Jan-Piet Mens
17ddfa07ae add http-logdir option
closes #98
2016-03-03 19:05:44 +01:00
Jan-Piet Mens
5b533a00ad gw is now on on builds 2016-02-29 15:28:19 +01:00
Jan-Piet Mens
e8b4e97ea0 Optionally disable MQTT
closes #90
2016-02-26 11:38:56 +01:00
Jan-Piet Mens
6e27bab998 ship README and service file in /usr/share/doc/ 2016-02-26 10:33:55 +01:00
Jan-Piet Mens
81e83e2c20 config file supports CAFILE
closes #87
2016-02-26 07:38:46 +01:00
Jan-Piet Mens
49d346fd80 ownership of ot-recorder config files
closes #89
2016-02-25 19:09:23 +01:00
Jan-Piet Mens
c4daf5c523 clientID configurable from config file 2016-02-25 18:59:48 +01:00
Jan-Piet Mens
25ff5ceca3 Support most config options in defaults file 2016-02-25 17:29:39 +01:00
Jan-Piet Mens
b163005b01 Lua hook on responding to POST in httpmode 2016-02-24 17:59:00 +01:00
Jan-Piet Mens
3791e49c05 LMDB is no longer optional 2016-02-22 13:09:57 +01:00
Jan-Piet Mens
e92e66679e add MQTT to config.mk.in 2016-02-22 11:58:24 +01:00
Jan-Piet Mens
71ec52449e remove Hosted mode
closes #86
2016-02-22 11:32:34 +01:00
Jan-Piet Mens
2af091e1dd fix postinstall centos for update 2016-02-17 16:45:12 +01:00
Jan-Piet Mens
dd79665a1a mark "not in Debian" 2016-02-16 17:55:12 +01:00
Jan-Piet Mens
c4104f836a warn of mandatory semicolon in libconfig < 1.4
closes #81
2016-02-11 08:40:45 +01:00
Jan-Piet Mens
e0e0aa216e mark config file in package 2016-02-09 11:47:38 +01:00
Jan-Piet Mens
ea0d1d4b68 introduce system-wide defaults file 2016-02-09 11:17:59 +01:00
Jan-Piet Mens
f0b7e9a58a create package in $cwd; record package.name; cleanup $tempdir 2016-01-29 12:27:48 +01:00
Jan-Piet Mens
f313bacf63 rename build files 2016-01-29 09:48:40 +01:00
Jan-Piet Mens
72d18d5061 comment 2016-01-28 15:19:25 +01:00
Jan-Piet Mens
befb0eb3f3 fpm without libsodium1 2016-01-28 15:18:55 +01:00
Jan-Piet Mens
30b93fe42f package build Centos 2016-01-28 12:32:16 +01:00
Jan-Piet Mens
ce9f8855e2 fix debian8 packaging 2016-01-27 11:14:47 +01:00
Jan-Piet Mens
dd0e544f84 for Debian8 2016-01-27 11:14:24 +01:00
Jan-Piet Mens
e486af45ca version 0.4.2 2015-10-02 08:58:19 +02:00