websoft9/apps/roles/Template/files/nginx.service

11 lines
269 B
SYSTEMD
Raw Normal View History

2022-02-14 15:36:09 +08:00
[Unit]
Description=Redmine
After=nginx.service
[Service]
Environment=RAILS_ENV=production
Type=simple
WorkingDirectory=/data/wwwroot/redmine
ExecStart=/usr/local/bin/puma -b tcp://127.0.0.1:9292 -e production
User=redmine
[Install]
WantedBy=multi-user.target