xref: /aosp_15_r20/external/ot-br-posix/src/agent/otbr-agent.service.in (revision 4a64e381480ef79f0532b2421e44e6ee336b8e0d)
1*4a64e381SAndroid Build Coastguard Worker[Unit]
2*4a64e381SAndroid Build Coastguard WorkerDescription=OpenThread Border Router Agent
3*4a64e381SAndroid Build Coastguard WorkerConditionPathExists=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent
4*4a64e381SAndroid Build Coastguard WorkerRequires=dbus.socket
5*4a64e381SAndroid Build Coastguard WorkerAfter=dbus.socket
6*4a64e381SAndroid Build Coastguard Worker
7*4a64e381SAndroid Build Coastguard Worker[Service]
8*4a64e381SAndroid Build Coastguard WorkerEnvironmentFile=-@CMAKE_INSTALL_FULL_SYSCONFDIR@/default/otbr-agent
9*4a64e381SAndroid Build Coastguard Worker@EXEC_START_PRE@ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS
10*4a64e381SAndroid Build Coastguard WorkerKillMode=mixed
11*4a64e381SAndroid Build Coastguard WorkerRestart=on-failure
12*4a64e381SAndroid Build Coastguard WorkerRestartSec=5
13*4a64e381SAndroid Build Coastguard WorkerRestartPreventExitStatus=SIGKILL
14*4a64e381SAndroid Build Coastguard Worker
15*4a64e381SAndroid Build Coastguard Worker[Install]
16*4a64e381SAndroid Build Coastguard WorkerWantedBy=multi-user.target
17*4a64e381SAndroid Build Coastguard WorkerAlias=otbr-agent.service
18