Skip to content

Commit

Permalink
fix require_root and environment_variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mvllow committed Feb 9, 2023
1 parent d697a8d commit 01f52a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions skhd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def caveats; <<~EOS
if build.with? "logging"
service do
run opt_bin/"skhd"
require root true
environment_variables HOMEBREW_PREFIX/"bin:/usr/bin:/bin:/usr/sbin:/sbin"
require_root true
environment_variables "#{HOMEBREW_PREFIX}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
keep_alive true
interval 30
log_path var/"log/skhd/skhd.out.log"
Expand All @@ -37,8 +37,8 @@ def caveats; <<~EOS
else
service do
run opt_bin/"skhd"
require root true
environment_variables HOMEBREW_PREFIX/"bin:/usr/bin:/bin:/usr/sbin:/sbin"
require_root true
environment_variables PATH: "#{HOMEBREW_PREFIX}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
keep_alive true
interval 30
process_type :interactive
Expand Down

0 comments on commit 01f52a4

Please sign in to comment.