Linux technical support - [email protected]


unicorn systemd

[Unit]
Description=Redmine server
After=syslog.target
After=network.target

[Service]
Type=simple
User=redmine
Group=redmine
WorkingDirectory=/home/redmine/redmine/redmine-current/
Environment=RAILS_ENV=production
ExecStart=/home/redmine/bin/unicorn_rails -E production -c /home/redmine/redmine/redmine-current/config/unicorn.rb

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300

[Install]
WantedBy=multi-user.target

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>