Skip to content

Commit eb9744b

Browse files
cosmo0920edsiper
authored andcommitted
snap: Install /usr prefix
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 7a1083c commit eb9744b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

snap/snapcraft.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ plugs:
1919

2020
apps:
2121
service:
22-
command: usr/local/bin/fluent-bit -c $SNAP/usr/local/etc/fluent-bit/fluent-bit.conf
22+
command: usr/bin/fluent-bit -c $SNAP/usr/etc/fluent-bit/fluent-bit.conf
2323
daemon: simple
2424
plugs:
2525
- network
2626
- network-bind
2727
- read-config
2828

2929
fluent-bit:
30-
command: usr/local/bin/fluent-bit
30+
command: usr/bin/fluent-bit
3131
plugs:
3232
- network
3333
- network-bind
@@ -57,6 +57,7 @@ parts:
5757
- libyaml-dev
5858
- postgresql-server-dev-all
5959
cmake-parameters:
60+
- -DCMAKE_INSTALL_PREFIX=/usr
6061
- -DFLB_DEBUG=On
6162
- -DFLB_OUT_KAFKA=On
6263
- -DFLB_JEMALLOC=On

0 commit comments

Comments
 (0)