mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 21:09:44 +08:00
feat(systemd): add systemd file
This commit is contained in:
parent
12dc13f25b
commit
524407b1f0
1 changed files with 14 additions and 0 deletions
14
contrib/systemd/shiori.service
Normal file
14
contrib/systemd/shiori.service
Normal 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
|
Loading…
Reference in a new issue