sudo only issues the command as root.
What is in the service file for user and group?
That is who weewx is running as.

On Monday, January 22, 2024 at 11:43:48 AM UTC-5 Tomasz Lewicki wrote:

> I run weewx as root:
>
> sudo systemctl start weewx
>
> If I set higher port (8080), weewx starts but I have empty queue for 
> interceptor.
>
> niedziela, 21 stycznia 2024 o 18:49:48 UTC+1 matthew wall napisał(a):
>
>> On Sunday, January 21, 2024 at 12:23:34 PM UTC-5 Tomasz Lewicki wrote:
>>
>>
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO weewx.engine: Loading station 
>> type Interceptor (user.interceptor)
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO user.interceptor: driver version 
>> is 0.60
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO user.interceptor: device type: 
>> observer
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO user.interceptor: hardware name: 
>> weatherstation via interceptor
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO user.interceptor: mode is listen
>> Jan 21 18:14:17 FR24 weewxd[14285]: INFO user.interceptor: listen on :80
>>
>>
>> if you listen on port 80, then the process must run as root (only root 
>> can listen on lower ports).
>>
>> so either run weewxd as root, or configure interceptor (and the station) 
>> to communicate on a higher port.
>>  
>>
>

-- 
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/9b9e0009-ad67-4325-8ec2-67a092836408n%40googlegroups.com.

Reply via email to