add supported systems and systemd files

This commit is contained in:
feinedsquirrel
2021-09-10 22:39:39 -06:00
parent bb613345ee
commit adbfa2d8d0
4 changed files with 30 additions and 0 deletions

18
systemd/photoview.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=Photoview - Photo gallery for self-hosted personal servers
Documentation=https://photoview.github.io/docs
After=network.target
[Service]
ExecStart=/usr/lib/photoview/photoview
WorkingDirectory=/usr/lib/photoview
User=photoview
Group=photoview
ReadWritePaths=/var/lib/photoview
EnvironmentFile=/etc/photoview.env
CacheDirectory=photoview/media_cache
[Install]
WantedBy=multi-user.target