From 524407b1f002aaece99d8bd904137fb324183b25 Mon Sep 17 00:00:00 2001 From: Sascha Date: Thu, 1 Mar 2018 07:37:48 +0100 Subject: [PATCH] feat(systemd): add systemd file --- contrib/systemd/shiori.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 contrib/systemd/shiori.service diff --git a/contrib/systemd/shiori.service b/contrib/systemd/shiori.service new file mode 100644 index 0000000..aa637ba --- /dev/null +++ b/contrib/systemd/shiori.service @@ -0,0 +1,14 @@ +[Unit] +Description=Simple bookmark manager built with Go +Documentation=https://github.com/RadhiFadlillah/shiori +After=network.target + +[Service] +Type=simple +User=shiori +WorkingDirectory=/home/shiori +ExecStart=/usr/local/bin/shiori serve -p 9000 +Restart=on-abort + +[Install] +WantedBy=multi-user.target \ No newline at end of file