You are not logged in.

#1 2015-01-20 11:02:02

ArtsAndLeisure
Member
From: The Netherlands
Registered: 2014-11-24
Posts: 6

Automatically starting mpdscribble when mpd is started

Hi there!

I want to have some program (mpdscribble) automatically started when I run another (mpd), but I don't want to start either of them as a service upon booting. Is there a way to go about this? I've googled my ass of but to no avail. Thanks!

Offline

#2 2015-01-20 11:37:13

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Automatically starting mpdscribble when mpd is started

You can make a simple shell script which starts both of them. Add that to your path and use that so start instead of the "mpd" command.

Something like this:

#!/bin/sh
mpd &
mpdscribble &

Offline

#3 2015-01-20 11:50:26

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: Automatically starting mpdscribble when mpd is started

... or even a simple shell alias would suffice

Offline

Board footer

Powered by FluxBB