mirror of
https://github.com/OPSnet/imageproxy-py.git
synced 2026-11-10 17:34:20 -10:00
18 lines
380 B
Desktop File
18 lines
380 B
Desktop File
[Unit]
|
|
Description=imageproxy-py image fetcher
|
|
After=nginx.service
|
|
|
|
[Service]
|
|
User=imageproxy
|
|
Group=imageproxy
|
|
WorkingDirectory=/data/imageproxy-py
|
|
ExecStart=/data/imageproxy-py/venv/bin/uvicorn \
|
|
--no-access-log --port 8091 main:app
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
PrivateTmp=true
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|