diff options
author | Thomas Eizinger | 2021-07-22 19:20:50 +1000 |
---|---|---|
committer | Thomas Eizinger | 2021-07-22 19:20:50 +1000 |
commit | e7d5e606f01036da25b3130d01afe652f1cf17cc (patch) | |
tree | da9b7ee9de28a4a8aeb7749b90385a608c996a9c /photoprism.service | |
parent | 21324ff1aaf3eb61943cacaa648653685bff73d8 (diff) | |
download | aur-e7d5e606f01036da25b3130d01afe652f1cf17cc.tar.gz |
upgpkg: photoprism 210523-0
Diffstat (limited to 'photoprism.service')
-rw-r--r-- | photoprism.service | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/photoprism.service b/photoprism.service index 79dfb5edb766..dfca6a38ca63 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 |