summaryrefslogtreecommitdiff
path: root/files/shiori.service
diff options
context:
space:
mode:
Diffstat (limited to 'files/shiori.service')
-rw-r--r--files/shiori.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/files/shiori.service b/files/shiori.service
new file mode 100644
index 0000000..6c8de29
--- /dev/null
+++ b/files/shiori.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Bookmark server
+
+[Service]
+User=shiori
+Environment=SHIORI_DIR=/var/www/shiori
+Environment=PORT=8080
+EnvironmentFile=-/etc/conf.d/shiori
+ExecStart=shiori serve -p $PORT
+Restart=always
+
+[Install]
+WantedBy=multi-user.target