Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to not run hotel on startup #357

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 20, 2020

  1. Add an option to not run hotel on startup

    This default is surely useful for many people, but it's not right for
    me: I have many projects on my computer, and I only want to start hotel
    if I'm working on certain ones.  Now there's an option to disable that
    behavior.  I cribbed what it does from user-startup, minus the startup
    parts.
    benjaminjkraft committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    4190dc5 View commit details
    Browse the repository at this point in the history
  2. Don't start if the pidfile exists

    @dbraley noticed that we'll now try to start multiple processes if you
    run `hotel start` multiple times.  (We already did, on Linux, but not on
    Mac.)  Now, we check for the pidfile, and report and exit if there is
    one.  (Note that this fixes issue for Linux in the case where we do
    autostart as well.)
    benjaminjkraft committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    7b865dd View commit details
    Browse the repository at this point in the history