Hi,
I have followed the instructions on the tutorial for installing Web Manager to the letter.
If I start it manually using:
cd servermanager
python drivermanager.py
It runs fine.
If I setup the auto restart as per the tutorial and run
sudo systemctl status indiwebmanager.service
I receive the following message:
indiwebmanager.service - INDI Web Manager
Loaded: loaded (/lib/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2016-10-21 14:40:06 AEDT; 2s ago
Process: 2030 ExecStartPost=/usr/bin/python /home/gary/servermanager/autostart.py (code=exited, status=1/FAILURE)
Process: 2029 ExecStart=/usr/bin/python /home/gary/servermanager/drivermanager.py (code=killed, signal=TERM)
Main PID: 2029 (code=killed, signal=TERM)
Oct 21 14:40:06 Observatory systemd[1]: indiwebmanager.service: Unit entered failed state.
Oct 21 14:40:06 Observatory systemd[1]: indiwebmanager.service: Failed with result 'exit-code'.
~
Can anyone help please? Not an experienced Linux user.
This is on a laptop configured with the latest Mint Cinnamon 64 bit distribution.
All my Indi devices run perfectly when connected to this laptop. I would like to connect to the laptop remotely - hence the desire to austostart Indi Web Manager.
cheers
Gary
PS I have edited indiwebmanager.service as below
[Unit]
Description=INDI Web Manager
After=multi-user.target
[Service]
Type=idle
User=gary
ExecStart=/usr/bin/python /home/gary/servermanager/drivermanager.py
ExecStartPost=/usr/bin/python /home/gary/servermanager/autostart.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
I have followed the instructions on the tutorial for installing Web Manager to the letter.
If I start it manually using:
cd servermanager
python drivermanager.py
It runs fine.
If I setup the auto restart as per the tutorial and run
sudo systemctl status indiwebmanager.service
I receive the following message:
indiwebmanager.service - INDI Web Manager
Loaded: loaded (/lib/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2016-10-21 14:40:06 AEDT; 2s ago
Process: 2030 ExecStartPost=/usr/bin/python /home/gary/servermanager/autostart.py (code=exited, status=1/FAILURE)
Process: 2029 ExecStart=/usr/bin/python /home/gary/servermanager/drivermanager.py (code=killed, signal=TERM)
Main PID: 2029 (code=killed, signal=TERM)
Oct 21 14:40:06 Observatory systemd[1]: indiwebmanager.service: Unit entered failed state.
Oct 21 14:40:06 Observatory systemd[1]: indiwebmanager.service: Failed with result 'exit-code'.
~
Can anyone help please? Not an experienced Linux user.
This is on a laptop configured with the latest Mint Cinnamon 64 bit distribution.
All my Indi devices run perfectly when connected to this laptop. I would like to connect to the laptop remotely - hence the desire to austostart Indi Web Manager.
cheers
Gary
PS I have edited indiwebmanager.service as below
[Unit]
Description=INDI Web Manager
After=multi-user.target
[Service]
Type=idle
User=gary
ExecStart=/usr/bin/python /home/gary/servermanager/drivermanager.py
ExecStartPost=/usr/bin/python /home/gary/servermanager/autostart.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target