/weewx-freebsd-rc.d

Weewx rc.d file for FreeBSD

Primary LanguageShell

weewx-freebsd-rc.d

This is an rc.d file for FreeBSD that runs weewx as a service.

Usage

  1. Copy weewx to /usr/local/etc/rc.d, creating the directory if necessary.
  2. Enable the service with sysrc weewx_enable="YES".
  3. Configure any necessary variables in /etc/rc.conf. For example, set the weewx configuration file by adding weewx_config_file=/path/to/config to /etc/rc.conf.
  4. Start the weewx service with service weewx start.