summarylogtreecommitdiffstats
path: root/photoprism.service
diff options
context:
space:
mode:
authorThomas Eizinger2021-07-22 19:20:50 +1000
committerThomas Eizinger2021-07-22 19:20:50 +1000
commite7d5e606f01036da25b3130d01afe652f1cf17cc (patch)
treeda9b7ee9de28a4a8aeb7749b90385a608c996a9c /photoprism.service
parent21324ff1aaf3eb61943cacaa648653685bff73d8 (diff)
downloadaur-e7d5e606f01036da25b3130d01afe652f1cf17cc.tar.gz
upgpkg: photoprism 210523-0
Diffstat (limited to 'photoprism.service')
-rw-r--r--photoprism.service18
1 files changed, 9 insertions, 9 deletions
diff --git a/photoprism.service b/photoprism.service
index 79dfb5edb76..dfca6a38ca6 100644
--- a/photoprism.service
+++ b/photoprism.service
@@ -1,15 +1,15 @@
+# Do not make changes to this file. It will be overridden by package upgrades. Use `systemctl edit photoprism` instead!
+
[Unit]
+After=network.target
Description=Photoprism
-Documentation=https://docs.photoprism.org
-After=network-online.target
+
+[Install]
+WantedBy=multi-user.target
[Service]
-User=photoprism
-# EnvironmentFile=/etc/systemd/system/photoprism.service.env
-# ExecStartPre=
-ExecStart=/usr/bin/photoprism start
+ExecStart=/usr/bin/photoprism --config-file=/etc/photoprism/options.yml start
Restart=always
-RestartSec=15s
+RestartSec=10
-[Install]
-WantedBy=multi-user.target
+User=photoprism \ No newline at end of file