run: Don't hardcode feedbackd
This allows arbitrary executables from the source tree with a well defined environment.
This commit is contained in:
committed by
Guido Günther
parent
59e42d8332
commit
d4197ed7a4
@@ -46,13 +46,13 @@ way to get going is to do the following:
|
||||
To run the daemon use
|
||||
|
||||
```sh
|
||||
_build/run
|
||||
_build/run _build/src/feedbackd
|
||||
```
|
||||
|
||||
To run under gdb use
|
||||
|
||||
``` sh
|
||||
FBD_GDB=1 _build/run
|
||||
FBD_GDB=1 _build/run _build/src/feedbackd
|
||||
```
|
||||
|
||||
You can introspect and get the current theme with
|
||||
|
||||
@@ -15,4 +15,4 @@ if [ "${FBD_GDB}" = 1 ]; then
|
||||
fi
|
||||
|
||||
set -x
|
||||
exec ${WRAPPER} "${ABS_BUILDDIR}/src/feedbackd" "$@"
|
||||
exec ${WRAPPER} "$@"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[D-BUS Service]
|
||||
Name=org.sigxcpu.Feedback
|
||||
Exec=@ABS_BUILDDIR@/run
|
||||
Exec=@ABS_BUILDDIR@/run @ABS_BUILDDIR@/src/feedbackd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user