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