1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/openproject_ynh.git synced 2024-09-03 19:56:10 +02:00
openproject_ynh/conf/systemd.service

18 lines
402 B
SYSTEMD
Raw Normal View History

2019-10-01 14:40:53 +02:00
[Unit]
Description=Launches Application server for OpenProject Rails project
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
Environment=RAILS_ENV=production
ExecStart=/usr/local/bin/bundle exec puma -t 5:5 -p ${PORT:-__PORT__} -e ${RACK_ENV:-production} >> /var/log/__APP__/__APP__.log 2>&1
Restart=always
[Install]
WantedBy=multi-user.target