Thank you for your suggestion. I have attempted to do so, but I can't 
understand what is wrong.

On Tuesday, April 2, 2024 at 3:52:31 PM UTC-5 vince wrote:

> Me too but no issues.  All I can suggest is editing the service file as it 
> seems to be asking you to do.  Can't explain why.
>
> On Tuesday, April 2, 2024 at 1:45:16 PM UTC-7 crecre9 wrote:
>
>> No, just raspbian. A more recent release.
>>
>> On Tuesday, April 2, 2024 at 2:18:26 PM UTC-5 vince wrote:
>>
>>> Are you running an unusual os on the pi ?
>>>  Did you do something to edit the weewx.service file ?
>>>
>>>  A clean pi running raspios installs+works just fine here with the 
>>> apt-get dpkg.
>>> The vanilla service file looks like:
>>>
>>> pi@raspberrypi:~ $ cat /usr/lib/systemd/system/weewx.service
>>> # systemd service configuration file for WeeWX
>>>
>>> [Unit]
>>> Description=WeeWX
>>> Documentation=https://weewx.com/docs
>>> Requires=time-sync.target
>>> After=time-sync.target
>>> Wants=network-online.target
>>> After=network-online.target
>>>
>>> [Service]
>>> ExecStart=weewxd /etc/weewx/weewx.conf
>>> StandardOutput=null
>>> StandardError=journal+console
>>> RuntimeDirectory=weewx
>>> RuntimeDirectoryMode=775
>>> User=weewx
>>> Group=weewx
>>>
>>> [Install]
>>> WantedBy=multi-user.target
>>>
>>> On Tuesday, April 2, 2024 at 11:50:36 AM UTC-7 crecre9 wrote:
>>>
>>>> I have a fresh 5.0.2 install using apt-get. The program won't run as a 
>>>> service:
>>>>
>>>> ● weewx.service - WeeWX
>>>>    Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor 
>>>> preset: en
>>>>    Active: failed (Result: exit-code) since Tue 2024-04-02 13:26:02 
>>>> -05; 1min 2s
>>>>      Docs: https://weewx.com/docs
>>>>   Process: 2178 ExecStart=/etc/weewx/weewx.conf (code=exited, 
>>>> status=203/EXEC)
>>>>  Main PID: 2178 (code=exited, status=203/EXEC)
>>>>
>>>> Apr 02 13:26:02 rpi systemd[1]: Started WeeWX.
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Main process exited, 
>>>> code=exited,
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Unit entered failed 
>>>> state.
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Failed with result 
>>>> 'exit-code'.
>>>>
>>>> And when I look at status:
>>>>
>>>> Apr 02 13:28:28 rpi systemd[1]: 
>>>> [/usr/lib/systemd/system/weewx.service:12] Executable path is not 
>>>> absolute, 
>>>> ignoring: weewxd /etc/weewx/weewx.conf
>>>> Apr 02 13:28:28 rpi systemd[1]: weewx.service: Service lacks both 
>>>> ExecStart= and ExecStop= setting. Refusing.
>>>>
>>>>
>>>> Any ideas? Its like the installation files improperly set up the daemon 
>>>> service.
>>>>
>>>>
>>>> -Joseph
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/65bbfa17-6326-4ae2-9609-b8c7733a7a29n%40googlegroups.com.

Reply via email to