mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 11:58:44 +08:00
11 lines
259 B
SYSTEMD
11 lines
259 B
SYSTEMD
|
[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
|