On Tue, 7 Jun 2016 14:04:27 +0200 Murk Fletcher wrote: > Hi! > > How do I access a variable inside quotes? Right now I'm having some > difficulties: > > stop_cmd="cd ${myapp} && \ > ${myapp} stop && \ > kill -9 `cat ${myapp}/tmp/pids/example.pid`" Are you sure you really need to do this? Stopping daemons is a basic part of what rc.subr does.