systemd
有一阵用 nohup 跑队列消费者,机器重启就忘了。后来写成 systemd 服务,挂了自动拉,日志进 journal。 [Service] Type=simple ExecStart=/us…