slightly more friendly service start output
This commit is contained in:
parent
04e162b20f
commit
75ae3eea07
|
@ -61,9 +61,10 @@ func start(system bool, home string, name string) error {
|
||||||
cmds = adjustPrivs(system, cmds)
|
cmds = adjustPrivs(system, cmds)
|
||||||
|
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
fmt.Println("Starting launchd service...")
|
||||||
for i := range cmds {
|
for i := range cmds {
|
||||||
exe := cmds[i]
|
exe := cmds[i]
|
||||||
fmt.Println(exe.String())
|
fmt.Println("\t" + exe.String())
|
||||||
err := exe.Run()
|
err := exe.Run()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return err
|
return err
|
||||||
|
|
|
@ -94,9 +94,10 @@ func start(system bool, home string, name string) error {
|
||||||
cmds = adjustPrivs(system, cmds)
|
cmds = adjustPrivs(system, cmds)
|
||||||
|
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
fmt.Println("Starting systemd service unit...")
|
||||||
for i := range cmds {
|
for i := range cmds {
|
||||||
exe := cmds[i]
|
exe := cmds[i]
|
||||||
fmt.Println(exe.String())
|
fmt.Println("\t" + exe.String())
|
||||||
err := exe.Run()
|
err := exe.Run()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue