0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

remove my personal config from example systemd file

This commit is contained in:
Will Norris 2020-02-24 00:20:43 +00:00
parent 8c28dca762
commit 2eb6dfcd05
3 changed files with 4 additions and 12 deletions

View file

@ -307,8 +307,7 @@ All configuration flags have equivalent environment variables of the form
## Deploying ##
In most cases, you can follow the normal procedure for building a deploying any
go application. For example, I build it directly on my production debian server
using:
go application. For example:
- `go build willnorris.com/go/imageproxy/cmd/imageproxy`
- copy resulting binary to `/usr/local/bin`

View file

@ -5,10 +5,6 @@ start on (net-device-up)
stop on runlevel [!2345]
respawn
exec start-stop-daemon --start -c www-data --exec /usr/bin/imageproxy -- \
exec start-stop-daemon --start -c www-data --exec /usr/local/bin/imageproxy -- \
-addr localhost:4593 \
-log_dir /var/log/imageproxy \
-cache /var/cache/imageproxy \
-signatureKey @/etc/imageproxy.key \
-baseURL https://willnorris.com/ \
-allowHosts willnorris.com,notsoserendipitous.com,gabenorris.com
-cache memory -cache /var/cache/imageproxy \

View file

@ -5,10 +5,7 @@ Description=Image Proxy
User=www-data
ExecStart=/usr/local/bin/imageproxy \
-addr localhost:4593 \
-cache /var/cache/imageproxy \
-signatureKey @/etc/imageproxy.key \
-baseURL https://willnorris.com/ \
-allowHosts willnorris.com,notsoserendipitous.com,gabenorris.com
-cache memory -cache /var/cache/imageproxy \
Restart=on-abort
[Install]