On Wednesday, December 28, 2016 at 12:19:09 PM UTC-8, Phil Green wrote:
>
> Yes,systemctl status weewx give me the process number.
> ps and the process number, shows me the process but it only lists it as
> python. Whereas my other system it actually comes up as weewxd !
> Must be the difference between the setup.py method and the Debian install
> method.
>
>
Is there something not working ?
Yes the two ways have slightly different output, one has the full pathname
to the python interpreter and each uses its own ideas of where files should
be located, but I'm not seeing any problem. Both work.
===== setup.py method =======
root@jessie:/home/vagrant# ps axu|grep wee|grep -v grep
root 12838 0.1 3.8 66156 19400 ? S 21:45 0:00
/usr/bin/python /home/weewx/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
root@jessie:/home/vagrant# systemctl status weewx
● weewx.service - weewx weather system
Loaded: loaded (/etc/systemd/system/weewx.service; enabled)
Active: active (running) since Wed 2016-12-28 21:45:17 GMT; 2min 47s ago
Main PID: 12838 (weewxd)
CGroup: /system.slice/weewx.service
└─12838 /usr/bin/python /home/weewx/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
===== apt-get method =======
root@jessie:/home/vagrant# ps axu|grep wee|grep -v grep
root 11895 0.7 3.2 46084 16696 ? S 21:52 0:00 python
/usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
root@jessie:/home/vagrant# systemctl status weewx
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx)
Active: active (running) since Wed 2016-12-28 21:52:08 GMT; 19s ago
CGroup: /system.slice/weewx.service
└─11895 python /usr/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.