更改

添加543字节 、 2021年4月18日 (日) 00:15
无编辑摘要
第57行: 第57行:  
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]]
 
[[Category:Server]]