From 07a8fae83fcfbe5d315ed11b870592c069ba9cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 28 Sep 2021 04:16:03 +0200 Subject: Configure shiori. --- files/shiori.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 files/shiori.service (limited to 'files') 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 -- cgit v1.2.3