第1行: |
第1行: |
| + | Isso 可以用于博客的评论服务。[https://github.com/posativ/isso Github],[https://posativ.org/isso/ 主页] |
| + | |
| == [[Nginx]] 配置 == | | == [[Nginx]] 配置 == |
| | | |
第57行: |
第59行: |
| timeout = 10 | | timeout = 10 |
| </syntaxhighlight> | | </syntaxhighlight> |
| + | |
| + | == [[Systemd]] 配置 == |
| + | |
| + | 再写一个 systemd unit <ref>[https://aur.archlinux.org/cgit/aur.git/tree/isso.service?h=isso isso AUR 包的 <code>isso.service</code>]</ref> |
| + | <syntaxhighlight lang=ini> |
| + | # ~/.config/systemd/user/isso.service |
| + | [Unit] |
| + | Description=Isso Comment Server |
| + | After=network.target network-online.target nss-lookup.target |
| + | |
| + | [Service] |
| + | WorkingDirectory=/srv/isso |
| + | ExecStart=/srv/isso/start.sh |
| + | |
| + | [Install] |
| + | WantedBy=default.target |
| + | </syntaxhighlight> |
| + | |
| + | 启动 |
| + | |
| + | systemctl --user enable --now isso.service |
| + | |
| + | == 参考资料 == |
| + | |
| + | <references /> |
| + | |
| + | [[Category:Server]] |