perl module prereqs:
- AnyEvent
- JSON
- twiggy
- Protocol::WebSocket
- Text::MicroTemplate::File
Debian packages: twiggy, libanyevent-perl, libjson-perl, libtext-microtemplate-perl Debian install from cpan: Protocol::WebSocket
Many of these prereqs are in Fedora's and Debian's package system
To install:
- create the user/group ntpwww (or adjust the user in ntp-app)
- Put ntp-www.service in /etc/systemd/system/ (adjust ExecStart= + WorkingDirectory= as needed)
- systemctl enable ntp-www ; systemctl start ntp-www
This will listen on port 9090 and respond as a HTTP server