summarylogtreecommitdiffstats
path: root/photoprism.service
diff options
context:
space:
mode:
authorsatcom8862021-03-02 19:34:06 +0100
committersatcom8862021-03-02 19:34:06 +0100
commit21324ff1aaf3eb61943cacaa648653685bff73d8 (patch)
tree6ed82d6fcf09a4b364c8f882d70afb12c54f3789 /photoprism.service
downloadaur-21324ff1aaf3eb61943cacaa648653685bff73d8.tar.gz
Initial, non functioning commit
Diffstat (limited to 'photoprism.service')
-rw-r--r--photoprism.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/photoprism.service b/photoprism.service
new file mode 100644
index 00000000000..79dfb5edb76
--- /dev/null
+++ b/photoprism.service
@@ -0,0 +1,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