Yes! Adding User / Group to the .service fixed the problem of not starting! Thanks a lot!
My setup would best look like this:
The pisound has a button. I have it now configured and working that when I press a button
it runs a shell script which checks if my jackd service is running - if yes, stop else
start (so one button solution to start / stop) - I need this because I couldn’t figure out
how to use Volumio with jack2 and to switch between Spotify/Airplay with Volumio - so this
is a working workaround so far.
Now I’d like to start recording when doing a double-press on the button and stop it with
the same double-press (it’s a feature of the pisound).
On 10. Dec 2018, at 23:26, Chris Caudle <chris(a)chriscaudle.org> wrote:
On Mon, December 10, 2018 4:18 pm, jack(a)microfx.de wrote:
My initial idea was to add this as well as a
service but jack_capture
needs user input - is this possible with a service? Like an additional
script that triggers the recording?
If you need user input, will you be using jack_capture after logging in? A
service should just be for a program which runs constantly in the
background, jack_capture seems more of an interactive program, although
you could probably run in from something like a shell script.
Have you tried the suggested solution yet, add a new account that is used
both for running jackd as a service, and as your login account when you
want to run jack_capture?
--
Chris Caudle