Commit 48a16250 authored by Kamil Trzciński's avatar Kamil Trzciński

Bump kardianos-service

parent 1c287287
......@@ -19,7 +19,7 @@
},
{
"ImportPath": "github.com/ayufan/golang-kardianos-service",
"Rev": "a49fc39e66072b50960f5ced8aa1421e4e2c5910"
"Rev": "04ea350502285bce3a4c92b49dd6b241d9698649"
},
{
"ImportPath": "github.com/codegangsta/cli",
......
......@@ -377,8 +377,8 @@ lockfile=/var/lock/subsys/$name
start() {
echo -n $"Starting $desc: "
daemon \
{{if .UserName}}--user=$user{{endif}} \
{{if .WorkingDirectory}}--chdir={{.WorkingDirectory|cmd}}{{endif}} \
{{if .UserName}}--user=$user{{end}} \
{{if .WorkingDirectory}}--chdir={{.WorkingDirectory|cmd}}{{end}} \
$cmd $args &>> $log_file
retval=$?
[ $retval -eq 0 ] && touch $lockfile
......
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