From d8aa853b3d1738f86f3a6f80b3473404ae880672 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Thu, 26 Dec 2013 11:42:46 -0800 Subject: [PATCH] add example upstart script from s.wjn.me --- init/imageproxy.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 init/imageproxy.conf diff --git a/init/imageproxy.conf b/init/imageproxy.conf new file mode 100644 index 0000000..8c5679e --- /dev/null +++ b/init/imageproxy.conf @@ -0,0 +1,13 @@ +# This is the upstart config I use for s.wjn.me. +description "Image Proxy server" +author "Will Norris " + +start on (net-device-up) +stop on runlevel [!2345] + +respawn +exec /usr/bin/imageproxy \ + -addr localhost:8001 \ + -log_dir /var/log/imageproxy \ + -cacheDir /var/cache/imageproxy \ + -whitelist willnorris.com,notsoserendipitous.com