mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-30 22:34:18 -05:00
add example upstart script from s.wjn.me
This commit is contained in:
parent
3e67c64a15
commit
d8aa853b3d
1 changed files with 13 additions and 0 deletions
13
init/imageproxy.conf
Normal file
13
init/imageproxy.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
# This is the upstart config I use for s.wjn.me.
|
||||
description "Image Proxy server"
|
||||
author "Will Norris <will@willnorris.com>"
|
||||
|
||||
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
|
Loading…
Reference in a new issue