diff options
Diffstat (limited to 'modules/shiori/files/shiori.service')
-rw-r--r-- | modules/shiori/files/shiori.service | 13 |
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 |