之前写过一篇《记录一下我的Ruby On Rails的systemd服务脚本》的记录,现在补上一个比较政治正确的Ruby On Rails的生产环境部署记录。使用Puma部署项目。
创建文件 /usr/lib/systemd/system/puma.service
[Unit]
Description=Puma HTTP Server
Documentation=Ruby On Rails
After=network.target
[Service]
Type=notify
WorkingDirectory=/your_

最低0.47元/天 解锁文章
1636

被折叠的 条评论
为什么被折叠?



