mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
16 lines
580 B
Desktop File
16 lines
580 B
Desktop File
[Unit]
|
|
Description=A simple image host
|
|
Documentation=https://git.asonix.dog/asonix/pict-rs
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment="PICTRS__SERVER__ADDRESS=127.0.0.1:8080"
|
|
Environment="PICTRS__SERVER__API_KEY=SOME-REALLY-SECRET-KEY"
|
|
Environment="PICTRS__TRACING__LOGGING__TARGETS=warn"
|
|
Environment="PICTRS__MEDIA__FORMAT=avif"
|
|
Environment="PICTRS__REPO__PATH=/var/lib/pict-rs/sled"
|
|
Environment="PICTRS__REPO__EXPORT_PATH=/var/lib/pict-rs/sled"
|
|
Environment="PICTRS__STORE__PATH=/var/lib/pict-rs/files"
|
|
ExecStart=/usr/local/bin/pict-rs run
|
|
Restart=on-failure
|