1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Photoprism Documentation=https://docs.photoprism.org After=network-online.target [Service] User=photoprism # EnvironmentFile=/etc/systemd/system/photoprism.service.env # ExecStartPre= ExecStart=/usr/bin/photoprism start Restart=always RestartSec=15s [Install] WantedBy=multi-user.target