Skip to content

Commit

Permalink
cleanup homebrew formula (now that we have init) (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
walkah authored Mar 15, 2024
1 parent 057f7b0 commit fc57f00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Formula/homestar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ class Homestar < Formula

def install
system "cargo", "install", *std_cargo_args(path: "homestar-runtime")

# sample config
(etc/"homestar").install "homestar-runtime/config/settings.toml" => "settings.toml"
end

# Run as a service
service do
run [opt_bin/"homestar", "start", "--config", etc/"homestar/settings.toml", "--db", var/"homestar.db"]
run [opt_bin/"homestar", "start", "--db", var/"homestar.db"]
keep_alive true
log_path var/"log/homestar.log"
error_log_path var/"log/homestar_error.log"
Expand Down

0 comments on commit fc57f00

Please sign in to comment.