mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
update upstart config to run as www-data user
This commit is contained in:
parent
a80158a53a
commit
7d5c68c4a0
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
description "Image Proxy server"
|
||||||
author "Will Norris <will@willnorris.com>"
|
author "Will Norris <will@willnorris.com>"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ start on (net-device-up)
|
||||||
stop on runlevel [!2345]
|
stop on runlevel [!2345]
|
||||||
|
|
||||||
respawn
|
respawn
|
||||||
exec /usr/bin/imageproxy \
|
exec start-stop-daemon --start -c www-data --exec /usr/bin/imageproxy -- \
|
||||||
-addr localhost:8001 \
|
-addr localhost:8001 \
|
||||||
-log_dir /var/log/imageproxy \
|
-log_dir /var/log/imageproxy \
|
||||||
-cacheDir /var/cache/imageproxy \
|
-cacheDir /var/cache/imageproxy \
|
||||||
|
|
Loading…
Reference in a new issue