Photoprism: Init
This commit is contained in:
parent
a28cfd40ee
commit
31ffd172c6
4 changed files with 123 additions and 0 deletions
16
run/photoprism/workspace/photoprism.service
Normal file
16
run/photoprism/workspace/photoprism.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
After=network.target network-online.target
|
||||
Description=Photoprism
|
||||
Documentation=https://docs.photoprism.app/
|
||||
Wants=network-online.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/photoprism start
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=/opt/photoprism
|
||||
User=photoprism
|
Loading…
Add table
Add a link
Reference in a new issue