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

Watch repeat #126

Merged
merged 6 commits into from Dec 4, 2014
Merged

Watch repeat #126

merged 6 commits into from Dec 4, 2014

Conversation

@benjaminoakes
Copy link
Owner

benjaminoakes commented Oct 20, 2014

No description provided.

@jurriaan
Copy link
Contributor

jurriaan commented Oct 23, 2014

Nice!

benjaminoakes added a commit that referenced this pull request Dec 4, 2014
Watch repeat
@benjaminoakes benjaminoakes merged commit 30fe14b into benjaminoakes:master Dec 4, 2014
@benjaminoakes
Copy link
Owner Author

benjaminoakes commented Dec 4, 2014

@jurriaan I've merged this, but I think it could be useful to have an example of how to start the daemon on login -- probably for Ubuntu and OSX. Have any input?

@jurriaan
Copy link
Contributor

jurriaan commented Dec 7, 2014

@benjaminoakes I'm a bit busy at the moment, but for OS X you can just create a launchctl daemon and place it in ~/Library/LaunchAgents, maybe we can provide a plist file that users can put in their LaunchAgents folder? I'm not sure how we make sure that it loads everything using the correct ruby version, you want it to run using your login shell I think.

I haven't used Ubuntu in a while, it depends on which Desktop Environment you're running of course, but it can be as simple as putting something in your xinitrc file..

@jurriaan
Copy link
Contributor

jurriaan commented Dec 8, 2014

Hmm, I broke a few things with this change.. Seems like Maid::Tools somehow isn't available in the watch/repeat blocks.

@jurriaan
Copy link
Contributor

jurriaan commented Jan 1, 2015

@benjaminoakes I've written a small article about starting maid on login on OS X: http://jurriaan.ninja/2015/01/01/maid-on-os-x.html

@benjaminoakes
Copy link
Owner Author

benjaminoakes commented Jan 1, 2015

Nice. It feels like we should include a Launch Agent with the project. In the meantime, I'll add a link to your post in the README.

benjaminoakes added a commit that referenced this pull request Jan 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.