[Unit] Description=evdaemon manages edge evsuits # #for wifi only # After=evwifi.service # #for eth0 only After=network-online.target Wants=network-online.target # #for both # After=network-online.target evwifi.service # Wants=network-online.target evwifi.service [Service] Type=simple Environment="LD_LIBRARY_PATH=/root/work/opencv-pocs/opencv-motion-detect/vendor/lib" "CLOUD_ADDR=tcp://evcloudsvc.ilabservice.cloud:5548" ExecStart=/root/work/opencv-pocs/opencv-motion-detect/evdaemon WorkingDirectory=/root/work/opencv-pocs/opencv-motion-detect Restart=always StartLimitIntervalSec=0 StandardOutput=syslog StandardError=syslog SyslogIdentifier=evsuits [Install] WantedBy=multi-user.target