Created
June 29, 2025 15:04
-
-
Save todashuta/a017818ab7ac1cb06db5187592edaeea to your computer and use it in GitHub Desktop.
/etc/systemd/system/redmine-puma.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Redmine Puma Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=foo | |
WorkingDirectory=/home/foo/redmine | |
Environment=RAILS_RELATIVE_URL_ROOT=/redmine | |
ExecStart=/usr/bin/bundle exec puma -b tcp://127.0.0.1:3000 -e production -w 3 --preload | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment