Created
October 2, 2017 21:21
-
-
Save valentineus/b882f32a00dfe3b9a1b563a6ba7959e1 to your computer and use it in GitHub Desktop.
SystemD service for the standard Debian package.
This file contains 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
# /etc/systemd/system/redmine.service | |
[Unit] | |
Description=Redmine server | |
After=syslog.target | |
After=network.target | |
[Service] | |
Type=simple | |
User=redmine | |
Group=redmine | |
ExecStart=/usr/bin/ruby /usr/share/redmine/bin/rails server webrick -e production | |
# Give a reasonable amount of time for the server to start up/shut down | |
TimeoutSec=300 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment