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

17 lines
437 B
SYSTEMD
Raw Normal View History

2017-09-09 03:11:47 -05:00
# 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