Commit Graph

40 Commits

Author SHA1 Message Date
Reynir Björnsson 549a70b2a5 Add albatross-systemd package 2020-11-26 10:02:47 +01:00
Reynir Björnsson f7a3c4fdac Generate systemd.socket files 2020-11-26 09:19:58 +01:00
Reynir Björnsson f280892894 Linux: Rename albatross_stat -> albatross_stats 2020-11-26 09:17:11 +01:00
Reynir Björnsson e6eba35a97 Linux README: add comment about socket paths 2020-11-26 08:09:24 +01:00
Reynir Björnsson c3cd5bd5ff
albatross_log.service: don't depend on albatross_console
Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
2020-11-26 07:29:04 +01:00
Reynir Björnsson 362ff7b27a Linux: Fix socket permissions 2020-11-24 14:41:56 +01:00
Reynir Björnsson b2b9ddcdef Systemd services depend on their sockets 2020-11-11 14:31:26 +01:00
Reynir Björnsson 99a992b3c4 AssertPathExists belongs under [Unit]
And not [Service].
2020-11-11 14:18:07 +01:00
Reynir Björnsson f79ed78a2b packaging/Linux/albatross_stat.service fix typo 2020-11-11 14:11:25 +01:00
Reynir Björnsson d9c572109c Install .socket files 2020-11-11 13:54:06 +01:00
Reynir Björnsson 0013e55d71 Add missing systemd.socket files
Also pass the new --systemd-socket-activation to the daemons.
2020-11-11 13:02:48 +01:00
Reynir Björnsson 0c29e2b90d Experimental systemd socket activation 2020-11-11 11:41:07 +01:00
Reynir Björnsson 910c842448 Update Linux packaging
* Update README: Names of binaries have changed, CLI interface as well,
  add instructions for installing tenders...
* Install an empty log
* Add assertion in albatross_log.service that the log file exists
2020-11-10 11:02:17 +01:00
Hannes Mehnert f7881e24e5 FreeBSD packaging: add albatross_client_inspect_dump to package 2020-07-29 12:26:46 +02:00
Hannes Mehnert 18728a7601 packaging/linux: cleanups of systemd scripts
- console creates the run directories (albatross albatross/fifo albatross/util)
-> log depends on console
- albatross/fifo needs special permission (albatross_daemon creates fifo there, albatross_console needs to read them)
- use /var/lib/albatross/albatross.log for the log file
- only require root in albatross_daemon, use user albatross in albatross_console and albatross_log
- defer albatross_stat for now
2020-04-03 17:43:45 +02:00
Hannes Mehnert 05ab18457b systemd services, based on ee49c6240aa2cf2c9dac47eff6c751ce8c17efb5 by @cfcs 2019-11-27 11:27:55 +01:00
Hannes Mehnert 3dc21c037e move FreeBSD packaging to packaging/FreeBSD 2019-11-27 11:27:55 +01:00
Hannes Mehnert 58c3490782 restart on failure 2019-10-12 02:06:45 +02:00
Hannes Mehnert f81a12bc4d initial metrics 2019-10-12 02:06:38 +02:00
Hannes Mehnert da8dcef6a0 there's no need for albatross_x anymore, albatross keeps state itself these days 2019-10-12 02:04:44 +02:00
Hannes Mehnert 92c325a7f9 freebsd-packaging: make albatrossd group-executable 2019-07-27 12:46:20 +02:00
Hannes Mehnert 45f37389aa move to dune, rename executables 2019-03-28 00:11:43 +01:00
Hannes Mehnert c0189178e5 fixes 2019-01-13 22:02:16 +01:00
Hannes Mehnert b5a068555c vmmd_tlS_inetd 2018-11-23 21:07:36 +01:00
Stefan Grundmann 79f06d57e8 FreeBSD rc scripts: fix precmd in _tls and _influx 2018-11-08 08:55:56 +00:00
Stefan Grundmann cd911ae68d FreeBSD rc scripts: echo start/stop actions
behave like all the other rc scripts
2018-11-08 08:55:56 +00:00
Stefan Grundmann 438b9325db FreeBSD rc scripts: remove nojail keyword
since it can be deployed in jails
2018-11-08 08:42:48 +00:00
Stefan Grundmann 2e433be569 FreeBSD rc scripts: fix albatross_x stop, status 2018-11-08 07:59:10 +00:00
Stefan Grundmann fb149952de FreeBSD rc scripts: do not quote albatross_*_flags in daemon(8) call
the various /usr/local/libexec/albatross/vmmd* programs are not
happy when called with argv[1] set to an empty string ...
which is what happens if albatross_*_flags is the default value
2018-11-08 07:51:37 +00:00
Hannes Mehnert e5f8248668 force_depend tls and influx 2018-11-01 22:54:11 +01:00
Hannes Mehnert 5392b6e3b3 source_date_epoch 2018-10-31 23:44:06 +01:00
Hannes Mehnert 65d31ba565 sort 2018-10-31 23:20:44 +01:00
Hannes Mehnert b94fdf2918 . 2018-10-29 23:19:59 +01:00
Hannes Mehnert 9351d9f14d add tls and influx startup scripts 2018-10-29 22:24:01 +01:00
Hannes Mehnert bd669dbe44 packaging 2018-10-28 23:18:07 +01:00
Hannes Mehnert cc29ddc98c minor packaging fixes 2018-10-26 21:30:54 +02:00
Hannes Mehnert 01f933702d move stuff around 2018-10-26 21:30:54 +02:00
Hannes Mehnert 3abd769425 minor pkg fixes 2018-10-26 21:29:59 +02:00
Stefan Grundmann 6e925700f5 FreeBSD package creation 2018-10-07 03:17:01 +00:00
Stefan Grundmann b66be32e8b FreeBSD rc(8) service scripts 2018-10-07 03:17:01 +00:00