1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00
redmine_ynh/conf/systemd.service
liberodark e43b126233 update
2019-03-13 14:38:59 +01:00

18 lines
363 B
Desktop File

[Unit]
Description=Redmine
Requires=network.target
Requires=postgresql.service
[Service]
Type=simple
User=root
Group=users
WorkingDirectory=/opt/redmine
Environment=RAILS_SERVE_STATIC_FILES=true
ExecStart=/bin/bash -c "/opt/redmine/bin/rails s -e production -b 127.0.0.1 -p 3000"
TimeoutSec=30
RestartSec=15s
Restart=always
[Install]
WantedBy=multi-user.target