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

add my personal systemd config

This commit is contained in:
Will Norris 2017-09-09 08:11:47 +00:00
parent 6b1cc060a0
commit 4aa8e01f60
2 changed files with 16 additions and 1 deletions

View file

@ -1,4 +1,3 @@
# This is the upstart config I use for https://willnorris.com/api/imageproxy/
description "Image Proxy server"
author "Will Norris <will@willnorris.com>"

16
etc/imageproxy.service Normal file
View file

@ -0,0 +1,16 @@
# This is the systemd config I use for https://willnorris.com/api/imageproxy/
[Unit]
Description=Image Proxy
[Service]
User=www-data
ExecStart=/usr/local/bin/imageproxy \
-addr localhost:4593 \
-cache /var/cache/imageproxy \
-signatureKey @/etc/imageproxy.key \
-baseURL https://willnorris.com/ \
-whitelist willnorris.com,notsoserendipitous.com,gabenorris.com
Restart=on-abort
[Install]
WantedBy=multi-user.target