How to Start a Service in a Specific Directory via Daemontools?
1
vote
1
answer
432
views
I am using [daemontools](https://cr.yp.to/daemontools.html) to start my application.
In the run script, I have something like
exec taskset -c 2 [absolute path to my application]
But the problem is that one of the black box library my application expects it to run in a specific directory.
Now my question is how I can run my application in a specific directory without creating a subshell.
Thanks.
Asked by HCSF
(223 rep)
Nov 8, 2018, 03:30 AM
Last activity: Nov 8, 2018, 05:10 AM
Last activity: Nov 8, 2018, 05:10 AM