Skip to content

Commit f75df62

Browse files
author
Andrei Zavada
committed
rebar3.org recommends starting riak with 'foreground'
1 parent 58b063a commit f75df62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rel/pkg/deb/debian/riak.riak.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Description=Riak KV Database
33

44
[Service]
55
User=riak
6-
ExecStart=/usr/sbin/riak start
6+
ExecStart=/usr/sbin/riak foreground
77
ExecStop=/usr/sbin/riak stop
8-
Type=forking
8+
Type=simple
99
PIDFile=/run/riak/riak.pid
1010
EnvironmentFile=-/etc/default/riak
1111
RuntimeDirectory=riak

rel/pkg/rpm/riak.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Description=Riak KV Database
33

44
[Service]
55
User=riak
6-
ExecStart=/usr/sbin/riak start
6+
ExecStart=/usr/sbin/riak foreground
77
ExecStop=/usr/sbin/riak stop
8-
Type=forking
8+
Type=simple
99
PIDFile=/run/riak/riak.pid
1010
EnvironmentFile=-/etc/default/riak
1111
RuntimeDirectory=riak

0 commit comments

Comments
 (0)