Commit graph

5 commits

Author SHA1 Message Date
Stuart Cardall
543e70c105 improve updatenginxblocker.sh
* sending email via the script is optional
(users may already have MAILTO set in cron or monitor syslogs by email)

* only reload nginx config if the download is successful
2017-03-30 20:47:52 +00:00
Mitchell Krog
fe464bf5c9 Update to Notes in Blocker Update Script 2017-03-25 10:04:50 +02:00
Stuart Cardall
41797e4501 improve updatenginxblocker.sh
adds compatibility for reloading Nginx on:

* Arch Linux (does not have a 'service' command)
* OpenRC (older versions do not have /sbin/service)

tested on Debian / Arch / Centos / Alpine Linux
2017-03-25 02:06:25 +00:00
Mitchell Krog UB1
9f0e591424 Fix Typo 2017-02-26 13:58:13 +02:00
Mitchell Krog
ab7187d859 Introduce Auto Updating Bash Script Option 2017-02-26 13:51:46 +02:00