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:
parent
6b1cc060a0
commit
4aa8e01f60
2 changed files with 16 additions and 1 deletions
|
@ -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
16
etc/imageproxy.service
Normal 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
|
Loading…
Reference in a new issue