2021 Nov 30, 10:33 PM
(2021 Nov 30, 08:29 PM)astrogerard Wrote: Maybe a Python version or file permission issue?
I'm running 3.7.3 and up on several (SIP 4.1.28) instances. So far no problems.
--Gerard
Yes, Python version! Had to change to Python3.
Here are the steps I took to get it working:
Code:
sudo systemctl stop sip.service
sudo systemctl disable sip.service
sudo rm /etc/systemd/system/sip.service
sudo cp SIP/sip3.service /etc/systemd/system/
sudo systemctl enable sip3.service
sudo systemctl start sip3.service
For the dietpi OS I had to change the sip3.service to look like this:
Quote:#Service for SIP running on a SystemD service
#
[Unit]
Description=SIP for Python3
After=syslog.target network.target
[Service]
ExecStart=/usr/bin/python3 -u /home/dietpi/SIP/sip.py
Restart=on-abort
WorkingDirectory=/home/dietpi/SIP/
SyslogIdentifier=sip
[Install]
WantedBy=multi-user.target
Thank you, Gerard