dotbot-brew icon indicating copy to clipboard operation
dotbot-brew copied to clipboard

Add support for services

Open kusold opened this issue 8 years ago • 2 comments

==> Caveats
To have launchd start tor now and restart at login:
  brew services start tor
Or, if you don't want/need a background service you can just run:
  tor

It would be nice if you could enable services to automatically start on reboots.

kusold avatar Feb 28 '17 07:02 kusold

Yeah, it sounds good. 💯

FYI, PRs are welcome 😸

d12frosted avatar Mar 01 '17 15:03 d12frosted

Services are supported via brewfiles. I think another approach would be to provide a new directive called 'bundle' that is basically brewfile verbatim (see the last example):

- brewfile:
    - Brewfile
    - brew/Brewfile

- tap:
    - caskroom/fonts

- brew:
    - git
    - git-lfs
    - emacs --with-cocoa --with-gnutls --with-librsvg --with-imagemagick --HEAD --use-git-head

- brew: [gnupg, gnupg2]

- cask: [colorpicker, vlc]

- bundle:
    - brew "yabai", restart_service: true

d12frosted avatar Apr 18 '22 06:04 d12frosted