Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
9657303e
Unverified
Commit
9657303e
authored
Jun 08, 2021
by
Dawid Dziurla
Committed by
GitHub
Jun 08, 2021
Browse files
Merge pull request #11492 from SMillerDev/fix/service/add_linux_target
service: add install block to unit
parents
c7dff1bb
8250f733
Changes
2
Hide whitespace changes
Inline
Side-by-side
Library/Homebrew/service.rb
View file @
9657303e
...
...
@@ -211,6 +211,9 @@ module Homebrew
[Unit]
Description=Homebrew generated unit for
#{
@formula
.
name
}
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=
#{
command
.
join
(
" "
)
}
...
...
Library/Homebrew/test/service_spec.rb
View file @
9657303e
...
...
@@ -175,6 +175,9 @@ describe Homebrew::Service do
[Unit]
Description=Homebrew generated unit for formula_name
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=
#{
HOMEBREW_PREFIX
}
/opt/
#{
name
}
/bin/beanstalkd test
...
...
@@ -202,6 +205,9 @@ describe Homebrew::Service do
[Unit]
Description=Homebrew generated unit for formula_name
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=
#{
HOMEBREW_PREFIX
}
/opt/
#{
name
}
/bin/beanstalkd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment