slightly more friendly service start output

This commit is contained in:
AJ ONeal 2019-07-07 06:55:01 +00:00
parent 04e162b20f
commit 75ae3eea07
2 changed files with 4 additions and 2 deletions

View File

@ -61,9 +61,10 @@ func start(system bool, home string, name string) error {
cmds = adjustPrivs(system, cmds)
fmt.Println()
fmt.Println("Starting launchd service...")
for i := range cmds {
exe := cmds[i]
fmt.Println(exe.String())
fmt.Println("\t" + exe.String())
err := exe.Run()
if nil != err {
return err

View File

@ -94,9 +94,10 @@ func start(system bool, home string, name string) error {
cmds = adjustPrivs(system, cmds)
fmt.Println()
fmt.Println("Starting systemd service unit...")
for i := range cmds {
exe := cmds[i]
fmt.Println(exe.String())
fmt.Println("\t" + exe.String())
err := exe.Run()
if nil != err {
return err