How to Start a Service in a Specific Directory via Daemontools?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am using daemontools 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.
linux centos cd-command exec daemontools
add a comment |Â
up vote
0
down vote
favorite
I am using daemontools 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.
linux centos cd-command exec daemontools
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using daemontools 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.
linux centos cd-command exec daemontools
I am using daemontools 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.
linux centos cd-command exec daemontools
linux centos cd-command exec daemontools
asked 17 mins ago
HCSF
185
185
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480484%2fhow-to-start-a-service-in-a-specific-directory-via-daemontools%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password