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.
- Host: GitHub
- URL: https://github.com/networkimprov/pacman-watch
- Owner: networkimprov
- Created: 2014-10-24T23:05:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-29T20:50:17.000Z (over 11 years ago)
- Last Synced: 2025-02-03T13:29:03.387Z (over 1 year ago)
- Language: Go
- Size: 243 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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