Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YSFGateway does not run autostart #263

Open
ea7or opened this issue May 2, 2021 · 1 comment
Open

YSFGateway does not run autostart #263

ea7or opened this issue May 2, 2021 · 1 comment

Comments

@ea7or
Copy link

ea7or commented May 2, 2021

YSFGateway does not run autostart.
After many attempts I can't put YSFGatewa on reboot. Instead DGIdGateway and YSFParrot work correctly.

@DO1OLI
Copy link
Contributor

DO1OLI commented Jul 16, 2022

Maybe you need to delay the start of YSFGateway a bit. I did a sleep 15 before starting it and it seemed to solve the issue:
(I do not run it as a daemon, so i used the Type=simple)

pi@mmdvm-simplex:~/src/YSFClients/DGIdGateway$ cat /etc/systemd/system/ysfgateway.service
[Unit]
Description=YSF Gateway

[Service]
Type=simple
ExecStartPre=/bin/sleep 15
ExecStart=/usr/local/bin/YSFGateway /usr/local/etc/YSFGateway.ini
Restart=on-failure
User=pi

[Install]
WantedBy=multi-user.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants