×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

indi web manager

Replied by Jasem Mutlaq on topic indi web manager

If you try it with the fully path, it works ok too?

i.e. python /home/pi/servermanager/drivermanager.py
7 years 7 months ago #10718

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic indi web manager

Yes. it work with the full path.
7 years 7 months ago #10722

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic indi web manager

Hello.
The problem has been solved. The script of the installation page is incorrect.
[Unit]
Description=INDI Web Manager
After=multi-user.target
[Service]
Type=idle
User=pi
ExecStart=/usr/bin/python /home/pi/servermanager/drivermanager.py
ExecStart=/usr/bin/python /home/pi/servermanager/autostart.py
[Install]
WantedBy=multi-user.target

The correct script is as follows:
[Unit]
Description=INDI Web Manager
After=multi-user.target
[Service]
Type=idle
User=pi
ExecStart=/usr/bin/python /home/pi/servermanager/drivermanager.py
ExecStart=/usr/bin/python /home/pi/servermanager/autostart.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
It works perfectly.
The following user(s) said Thank You: Teseo
7 years 7 months ago #10746

Please Log in or Create an account to join the conversation.

Time to create page: 0.798 seconds