This web service uses the AD ELog API to generate feeds in the rss or atom formats.
Clone to a local directory and from the installed directory run:
npm install
npm start
Valid rss request example:
curl vclx3.fnal.gov:7780/feeds/Controls.rss
Valid atom request example:
curl vclx3.fnal.gov:7780/feeds/Safety.atom
A service can be created to ensure uptime and syslogs by using elog-to-feed.service
as a template and copying it to /etc/systemd/system/
.
To test that the service file works:
systemctl start elog-to-feed.service
You can see status and output using:
systemctl status elog-to-feed.service -l
To have it start on system start:
systemctl enable elog-to-feed.service