[Unit]
Description=exem-host-agent
Wants=network-online.target
After=network-online.target

[Service]
Type=forking
PIDFile={{ EXEM_HOME }}/host/data/host_agent_pid
ExecStart={{ EXEM_HOME }}/host/script/binary_start.sh
ExecStartPost=/bin/sleep 1
Restart=on-failure
RestartSec=10

[Install]
WantedBy=default.target
