Skip to content

Commit d493bcb

Browse files
authored
Start OS Agent Systemd service after sysinit.target (home-assistant#224)
As OS Agent accesses various system features, it should be mandatory that all mounts have been created and the system is mostly initialized. This should be the sysinit.target - at this point everything should be up and only various services should be being initialized (those would need to be specified explicitly). A concrete example of this target being needed is systemd-sysctl.service - without that finished, OS Agent may get wrong kernel parameters which are later set via that service.
1 parent 59a514b commit d493bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/haos-agent.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Description=Home Assistant OS Agent
33
DefaultDependencies=no
44
Requires=dbus.socket udisks2.service
5-
After=dbus.socket
5+
After=dbus.socket sysinit.target
66

77
[Service]
88
BusName=io.hass.os

0 commit comments

Comments
 (0)