benbjohnson / litestream

Streaming replication for SQLite.
https://litestream.io
Apache License 2.0
10.69k stars 246 forks source link

Create a Homebrew launchd plist file #51

Open chmaynard opened 3 years ago

chmaynard commented 3 years ago

Platform: macOS

It would be useful to be able to use the brew services command to launch Litestream and replicate a specified database. The name and location of the database could be stored in an environment variable or file.

See: https://docs.brew.sh/Formula-Cookbook#launchd-plist-files

benbjohnson commented 3 years ago

That's a good idea. I'll get this added in the next release or two.