]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: don't use plist_options
authorVincent Bernat <vincent@bernat.ch>
Thu, 18 May 2023 14:31:55 +0000 (16:31 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 18 May 2023 14:32:23 +0000 (16:32 +0200)
osx/lldpd.rb

index 096b6238d49e6f8ecb105b4e45838067e4b6bd18..9799594ddbe56624acf6550df123c72a556f0982 100644 (file)
@@ -80,9 +80,9 @@ class Lldpd < Formula
     end
   end
 
-  plist_options startup: true
   service do
     run build.with?("snmp") ? [opt_sbin/"lldpd", "-x"] : opt_sbin/"lldpd"
     keep_alive true
+    require_root true
   end
 end