(feat): improve config stuff

This commit is contained in:
Alois 2026-07-25 22:55:02 +02:00
commit 1744357350
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
4 changed files with 66 additions and 32 deletions

View file

@ -183,7 +183,7 @@
users.groups.iota = {};
systemd.sockets.iota-daemon = {
systemd.sockets.iota = {
description = "${descriptionText} IPC socket";
wantedBy = ["sockets.target"];
socketConfig = {
@ -198,10 +198,11 @@
};
};
systemd.services.iota-daemon = {
systemd.services.iota = {
description = descriptionText;
after = ["network.target"];
requires = ["iota-daemon.socket"];
wantedBy = ["multi-user.target"];
after = ["network.target" "iota.socket"];
requires = ["iota.socket"];
serviceConfig =
{