File routenbuch-puma.service of Package routenbuch
[Unit] Description=Routenbuch Puma After=postgresql.service redis.target routenbuch-update.service Requires=routenbuch-update.service PartOf=routenbuch.target [Service] Type=simple User=routenbuch Group=routenbuch Environment="RUBY_GC_MALLOC_LIMIT=90000000" "LANG=en_US.UTF-8" "LC_ALL=en_US.UTF-8" "RAILS_ENV=production" WorkingDirectory=/srv/www/webapps/routenbuch/ ExecStart=@BUNDLER_REPLACE@ exec /usr/bin/puma.@RUBY_SUFFIX@ --env production --config /srv/www/webapps/routenbuch/config/puma.rb KillSignal=SIGINT Restart=on-failure [Install] WantedBy=multi-user.target