From 7d5c68c4a02d9ea26e381eff02175dc1926253ec Mon Sep 17 00:00:00 2001 From: Will Norris Date: Tue, 11 Nov 2014 08:41:29 -0800 Subject: [PATCH] update upstart config to run as www-data user --- etc/imageproxy.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/imageproxy.conf b/etc/imageproxy.conf index 8c5679e..12854ac 100644 --- a/etc/imageproxy.conf +++ b/etc/imageproxy.conf @@ -1,4 +1,4 @@ -# This is the upstart config I use for s.wjn.me. +# This is the upstart config I use for https://willnorris.com/api/imageproxy/ description "Image Proxy server" author "Will Norris " @@ -6,7 +6,7 @@ start on (net-device-up) stop on runlevel [!2345] respawn -exec /usr/bin/imageproxy \ +exec start-stop-daemon --start -c www-data --exec /usr/bin/imageproxy -- \ -addr localhost:8001 \ -log_dir /var/log/imageproxy \ -cacheDir /var/cache/imageproxy \