How can I start a daemon?


up vote
1
down vote
favorite
How can I start a daemon process with the use of start-stop-daemon
? When I run:
start-stop-daemon --stop --name NetworkManager
...it stops just fine. However, when I try to start it up it fails:
start-stop-daemon --start --name NetworkManager
start-stop-daemon: --start needs --exec or --startas
start-stop-daemon --exec --startas /etc/init.d/network-manager --name NetworkManager
start-stop-daemon: need one of --start or --stop or --status
services
add a comment |Â
up vote
1
down vote
favorite
How can I start a daemon process with the use of start-stop-daemon
? When I run:
start-stop-daemon --stop --name NetworkManager
...it stops just fine. However, when I try to start it up it fails:
start-stop-daemon --start --name NetworkManager
start-stop-daemon: --start needs --exec or --startas
start-stop-daemon --exec --startas /etc/init.d/network-manager --name NetworkManager
start-stop-daemon: need one of --start or --stop or --status
services
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
How can I start a daemon process with the use of start-stop-daemon
? When I run:
start-stop-daemon --stop --name NetworkManager
...it stops just fine. However, when I try to start it up it fails:
start-stop-daemon --start --name NetworkManager
start-stop-daemon: --start needs --exec or --startas
start-stop-daemon --exec --startas /etc/init.d/network-manager --name NetworkManager
start-stop-daemon: need one of --start or --stop or --status
services
How can I start a daemon process with the use of start-stop-daemon
? When I run:
start-stop-daemon --stop --name NetworkManager
...it stops just fine. However, when I try to start it up it fails:
start-stop-daemon --start --name NetworkManager
start-stop-daemon: --start needs --exec or --startas
start-stop-daemon --exec --startas /etc/init.d/network-manager --name NetworkManager
start-stop-daemon: need one of --start or --stop or --status
services
services
edited Mar 19 at 23:51


WinEunuuchs2Unix
35.9k759134
35.9k759134
asked Mar 19 at 21:58
hello moto
4241316
4241316
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Can you try with :
start-stop-daemon --start --startas /etc/init.d/network-manager --name NetworkManager
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Can you try with :
start-stop-daemon --start --startas /etc/init.d/network-manager --name NetworkManager
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
add a comment |Â
up vote
2
down vote
accepted
Can you try with :
start-stop-daemon --start --startas /etc/init.d/network-manager --name NetworkManager
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Can you try with :
start-stop-daemon --start --startas /etc/init.d/network-manager --name NetworkManager
Can you try with :
start-stop-daemon --start --startas /etc/init.d/network-manager --name NetworkManager
answered Mar 19 at 22:04


Paul
865
865
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
add a comment |Â
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
Perfect ! i would of never guessed. thank you
â hello moto
Mar 19 at 22:06
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1017440%2fhow-can-i-start-a-daemon%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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