An open API service indexing awesome lists of open source software.

https://github.com/networkimprov/pacman-watch

Monitor Arch Linux updates for trouble.
https://github.com/networkimprov/pacman-watch

Last synced: over 1 year ago
JSON representation

Monitor Arch Linux updates for trouble.

Awesome Lists containing this project

README

          

pacman-watch
============

Monitor Arch Linux updates for trouble.

Original discussion at https://github.com/networkimprov/arch-packages/issues/22

###Server

$ go build watch.go
$ ./watch test # creates files in ./

Browse to http://localhost:4321/

Issues:
Multiple emails may be sent if server is restarted after timeout.
Concurrent writes to sClient map[string]*tClient are not safe.

Config file:

"Http": host:port for listener
"Password": http requests must contain this
"UpdateWait": integer time in seconds to wait for close message before sending email
"OkWait": integer time in minutes to wait for next client contact
"To": should point to a mailing list
"From": email address of sender

###Client