You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there are good way of enabling systemd-units at startup?
I used to use systemctl enable in mkosi.postinst but this doesn't seem to work anymore. (Failed to enable unit: Transport endpoint is not connected)
Do I have to create the symlinks directly or is there a better way?
Thanks!
The text was updated successfully, but these errors were encountered:
Alternatively you can use a systemd preset file which will be applied on the first boot. This would have the advantage that if you put it under /usr/lib/systemd/system-preset/*.preset you do not need to ship the /etc directory as systemd enable creates them in /etc/systemd/... by default. You could also archive the same by manually creating symlinks but that is more cumbersome.
Hello,
is there are good way of enabling systemd-units at startup?
I used to use
systemctl enable
inmkosi.postinst
but this doesn't seem to work anymore. (Failed to enable unit: Transport endpoint is not connected
)Do I have to create the symlinks directly or is there a better way?
Thanks!
The text was updated successfully, but these errors were encountered: