Jump to content

Recommended Posts

Posted

Hi,

 

I have a script in systemd which doesn't start automatically at boot using Orange PI PC+ under Armbian 22.02.01 Focal.

I can see the script is read in the boot text. But my program doesn't run.

[OK]  Started WiProbe Gateway.

It seems the that the script is executed, but stops somewhere in the script???

 

The program is in /root/Gateway/Bundle

 

SCRIPT Gateway.service

 

[Unit]
Description=WiProbe Gateway
After=netwok.target
StartLimitIntervalSec=0

 

[Service]
Type=simple
WorkingDirectory=/root/Gateway/Bundle
Restart=always
RestartSec=1
User=root
ExecStart=/root/Gateway/Gateway
ExecReload=/root/Gateway/Gateway
StandardOutput=/dev/null
StandardError=/dev/null

 

[Install]
WantedBy=multi-user.target

 

 

What am I missing here?

 

Thanks,

Frank

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines