summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--photoprism.service8
1 files changed, 5 insertions, 3 deletions
diff --git a/photoprism.service b/photoprism.service
index dfca6a38ca63..605f2c201471 100644
--- a/photoprism.service
+++ b/photoprism.service
@@ -1,4 +1,6 @@
-# Do not make changes to this file. It will be overridden by package upgrades. Use `systemctl edit photoprism` instead!
+# Do not make manual changes to this file.
+# It will be overridden by package upgrades.
+# Use `systemctl edit photoprism` instead!
[Unit]
After=network.target
@@ -8,8 +10,8 @@ Description=Photoprism
WantedBy=multi-user.target
[Service]
-ExecStart=/usr/bin/photoprism --config-file=/etc/photoprism/options.yml start
+ExecStart=/usr/bin/photoprism --defaults-yaml=/etc/photoprism/options.yml start
Restart=always
RestartSec=10
-User=photoprism \ No newline at end of file
+User=photoprism