Skip to content

Commit

Permalink
fix(cmd/immuadmin/command/service): fix #188
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeloni committed May 18, 2020
1 parent 02acf1d commit c922ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ network = "tcp"
address = "127.0.0.1"
port = 3322
dbname = "data"
pidfile = "/var/run/immudb.pid"
pidfile = "/var/lib/immudb/immudb.pid"
logfile = "/var/log/immudb/immudb.log"
mtls = false
detached = false
Expand Down
3 changes: 1 addition & 2 deletions cmd/immuadmin/command/service/helper_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ After={{.Dependencies}}
[Service]
PIDFile=/var/run/{{.Name}}.pid
ExecStartPre=/bin/rm -f /var/run/{{.Name}}.pid
ExecStartPre=/bin/rm -f /var/lib/immudb/{{.Name}}.pid
ExecStart={{.Path}} {{.Args}}
Restart=on-failure
User=%s
Expand Down

0 comments on commit c922ba3

Please sign in to comment.