Announcement

Collapse
No announcement yet.

How to auto start Mirth Connect on Ubuntu Server 9.04

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to auto start Mirth Connect on Ubuntu Server 9.04

    Ok Mirth seems to work fine when I start it from the terminal, I want a way to auto start Mirth on reboots

    As of this posting I am running the latest Ubuntu Server 9.04 and Mirth Connect 1.8.1.4211.9

    Thanks in advance!

  • #2
    This is quick and dirty, but it hasn't failed me yet... In /etc/rc.local, add something like:

    cd /usr/local/mirth (or wherever your copy is installed)
    ./mirth.sh 2>&1 >/usr/local/mirth/mirth.log &
    cd /

    Someday I'll get around to writing a proper service wrapper for Ubuntu, just not today...

    Comment


    • #3
      See also: http://www.mirthcorp.com/community/f...ghlight=init.d

      All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

      mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
      Jon Bartels

      Zen is hiring!!!!
      http://consultzen.com/careers/
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.

      Comment


      • #4
        Thanks guys, the symbolic link with update-rc.d worked great

        Originally posted by jbartels View Post
        See also: http://www.mirthcorp.com/community/f...ghlight=init.d

        All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

        mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.

        Comment


        • #5
          Hehe - just goes to show that I should pay more attention to changelogs, readmes, etc...

          I'll plug that into my Ubuntu box and get rid of that ugly chunk from rc.local - thanks.

          (In my weak defense, that method started way back when I installed Mirth on an old Slackware 9 box... )

          Comment


          • #6
            Originally posted by jbartels View Post
            See also: http://www.mirthcorp.com/community/f...ghlight=init.d

            All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

            mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
            How do I start the mirth administrator in ubuntu 8.04, the mirth server runs in a terminal, but how do i get to the administrator so i can edit channels, etc.

            Comment


            • #7
              Point your web browser at http://server:8080. It'll present you with a big green button. Push it to download the webstart .jnlp file. It'll show the user/password box. Login (server default is admin/admin - you should change that) and you'll get to the all-in-one development-and-management tool.

              Comment


              • #8
                Originally posted by jbartels View Post
                See also: http://www.mirthcorp.com/community/f...ghlight=init.d

                All you need to do on Ubuntu is copy mirth-daemon to /etc/init.d and then run `update-rc.d defaults` on it.

                mirth-daemon is a standard service wrapper script with start/stop/restart. Double check it to make sure your install path is correct and that its running as the right user.
                Thank you for this.
                Installing this has gotten much simpler.
                I will add this to my guide on this forum.

                Comment

                Working...
                X