feat(systemd): add systemd file

This commit is contained in:
Sascha 2018-03-01 07:37:48 +01:00
parent 12dc13f25b
commit 524407b1f0

View file

@ -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