[Unit] Description=Belt Tearing Detection Server After=network.target [Service] Type=simple User=root WorkingDirectory=/opt/belttearingserver Environment=LD_LIBRARY_PATH=/opt/sysroot/lib:/usr/lib:/lib ExecStart=/opt/belttearingserver/BeltTearingServer Restart=always RestartSec=5 [Install] WantedBy=multi-user.target