Redmine.service

Iš Žinynas.
Jump to navigation Jump to search

Debian 9+Redmine 3.3.1+nginx

[Unit]
Description=Redmine service
After=syslog.target
After=network.target
[Service]
ExecStart=/bin/sh -c 'cd /usr/share/redmine&&bundle exec rails server webrick -b 0.0.0.0 -e production'
TimeoutSec=300
[Install]
WantedBy=multi-user.target
systemctl daemon-reload   
systemctl enable redmine.service
systemctl start redmine.service