]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/sudoers.erb
Make the replication service sudo to www-data to expire tiles
[chef.git] / cookbooks / tile / templates / default / sudoers.erb
diff --git a/cookbooks/tile/templates/default/sudoers.erb b/cookbooks/tile/templates/default/sudoers.erb
new file mode 100644 (file)
index 0000000..90db9cd
--- /dev/null
@@ -0,0 +1,4 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+# Allow the replication service to expire tiles
+tile ALL=(www-data) NOPASSWD: /usr/local/bin/expire-tiles