summaryrefslogtreecommitdiff
path: root/modules/shiori/files/shiori.service
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-09-28 04:16:03 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-09-28 04:16:03 +0200
commite62ccde573c969a16cee5e54cf8b8442b3936eb8 (patch)
tree4bf38ee742afd095ddba0a2c5c0abb7988f41576 /modules/shiori/files/shiori.service
parentAdd group profiles. (diff)
downloadwebdav_server-e62ccde573c969a16cee5e54cf8b8442b3936eb8.tar.gz
webdav_server-e62ccde573c969a16cee5e54cf8b8442b3936eb8.tar.xz
Configure shiori.
Diffstat (limited to '')
-rw-r--r--modules/shiori/files/shiori.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/shiori/files/shiori.service b/modules/shiori/files/shiori.service
new file mode 100644
index 0000000..6c8de29
--- /dev/null
+++ b/modules/shiori/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