From f091269afb243a38aeba19b2dae576b9375afcbb Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 26 Jan 2024 09:02:48 +0100 Subject: [PATCH] Replace deprecated plist with service block --- Formula/scm-server.rb | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/Formula/scm-server.rb b/Formula/scm-server.rb index acaaa4c..ea0633c 100644 --- a/Formula/scm-server.rb +++ b/Formula/scm-server.rb @@ -20,25 +20,7 @@ def install chmod 0755, bin/"scm-server" end - plist_options manual: "scm-server" - - def plist - <<~EOS - - - - - Label - #{plist_name} - ProgramArguments - - #{opt_bin}/scm-server - start - - RunAtLoad - - - - EOS + service do + run opt_bin/"scm-server" end end