Commit 6f17de23 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Fixed compilation error

parent 0cf1c2cb
......@@ -2,9 +2,9 @@ package commands
import (
log "github.com/Sirupsen/logrus"
"gitlab.com/gitlab-org/gitlab-ci-multi-runner/common"
service "github.com/ayufan/golang-kardianos-service"
"github.com/codegangsta/cli"
"gitlab.com/gitlab-org/gitlab-ci-multi-runner/common"
"os"
"os/user"
"runtime"
......@@ -71,11 +71,11 @@ func RunServiceControl(c *cli.Context) {
switch runtime.GOOS {
case "darwin":
svcConfig.UserService = true
svcConfig.Option = service.KeyValue{
"KeepAlive": true,
"RunAtLoad": true,
"SessionCreate": true,
"UserService": true,
}
case "windows":
......
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