mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
feat(blahd): impl socket activation integration
This also allows arbitrary listening fd include UNIX domain sockets, via environment variables as sd_listen_fds(3).
This commit is contained in:
parent
87c8acd5b2
commit
98b2df2fdf
8 changed files with 206 additions and 13 deletions
|
@ -65,6 +65,9 @@ rec {
|
|||
"--package=blahctl"
|
||||
];
|
||||
|
||||
# Intentionally omit the socket unit. It is trivial but
|
||||
# highly configuration-specific. Users who want to use it almost
|
||||
# always need customization.
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/systemd/system
|
||||
substitute ./contrib/blahd.example.service $out/etc/systemd/system/blahd.service \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue