Unverified Commit 9657303e authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

Merge pull request #11492 from SMillerDev/fix/service/add_linux_target

service: add install block to unit
parents c7dff1bb 8250f733
......@@ -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(" ")}
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment