fxgsell/GG-Config-Tool

Path is not correct (per version on my board)

Opened this issue · 1 comments

after install.sh script has been run, the following appears in the syslog:

Jun  9 06:25:21 tegra-ubuntu systemd[1]: Started gg-config-ui daemon.
Jun  9 06:25:21 tegra-ubuntu systemd[2469]: gg-config-ui.service: Failed at step EXEC spawning /opt/gg-config-ui/start.sh: No such file or directory
Jun  9 06:25:21 tegra-ubuntu systemd[1]: gg-config-ui.service: Main process exited, code=exited, status=203/EXEC
Jun  9 06:25:21 tegra-ubuntu systemd[1]: gg-config-ui.service: Unit entered failed state.
Jun  9 06:25:21 tegra-ubuntu systemd[1]: gg-config-ui.service: Failed with result 'exit-code'.
Jun  9 06:25:23 tegra-ubuntu systemd[1]: gg-config-ui.service: Service hold-off time over, scheduling restart.
Jun  9 06:25:23 tegra-ubuntu systemd[1]: Stopped gg-config-ui daemon.

Workaround 1: updated path inside /etc/systemd/system/gg-config-ui.service as shown below:

[Unit]
Description=gg-config-ui daemon
After=network.target

[Service]
WorkingDirectory=/opt/gg-config-ui/GG-Config-Tool
ExecStart=/opt/gg-config-ui/GG-Config-Tool/start.sh
Type=simple
RestartSec=2
Restart=always
User=root
PIDFile=/var/run/gg-config-ui.pid

[Install]
WantedBy=multi-user.target

Working now for my device, but didn't want to change this repo directly -- please advise if current release in repo should be working correctly