Reynir Björnsson
33f7b6bcee
* Use systemd socket activation * Pass a new command line argument --systemd-socket-activation to the daemons if running on Linux * Install .socket files * Systemd services depend on their sockets * Implement sd_listen_fds in OCaml * Set FD_CLOEXEC in sd_listen_fds * README: add comment about socket paths * Linux systemd scripts: Rename albatross_stat -> albatross_stats
12 lines
187 B
SYSTEMD
12 lines
187 B
SYSTEMD
[Unit]
|
|
Description=Albatross daemon socket
|
|
PartOf=albatross_daemon.service
|
|
|
|
[Socket]
|
|
ListenStream=%t/albatross/util/vmmd.sock
|
|
SocketMode=0600
|
|
Accept=no
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|