Where to put the script file for autostart [duplicate]

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
This question already has an answer here:
Running a script during booting/startup; init.d vs cron @reboot
3 answers
Auto run the programs When the system turns on(Debian)
2 answers
make an application startup automatically
2 answers
I am using Linux box which have the the following flavour
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.9 (Santiago)
My requirement is to start a shell script after the server is restarted completed and all other init scripts are executed custom script need to execute For the same, I put the custom script path in the file named "/etc/rc.d/rc.local" assuming that on restart it will pickup, but after the restart, it didn't pick up on restart.
So can anyone guide me where to put
linux shell-script rhel autostart
marked as duplicate by Kusalananda
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Jul 20 at 8:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
Running a script during booting/startup; init.d vs cron @reboot
3 answers
Auto run the programs When the system turns on(Debian)
2 answers
make an application startup automatically
2 answers
I am using Linux box which have the the following flavour
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.9 (Santiago)
My requirement is to start a shell script after the server is restarted completed and all other init scripts are executed custom script need to execute For the same, I put the custom script path in the file named "/etc/rc.d/rc.local" assuming that on restart it will pickup, but after the restart, it didn't pick up on restart.
So can anyone guide me where to put
linux shell-script rhel autostart
marked as duplicate by Kusalananda
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Jul 20 at 8:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
Running a script during booting/startup; init.d vs cron @reboot
3 answers
Auto run the programs When the system turns on(Debian)
2 answers
make an application startup automatically
2 answers
I am using Linux box which have the the following flavour
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.9 (Santiago)
My requirement is to start a shell script after the server is restarted completed and all other init scripts are executed custom script need to execute For the same, I put the custom script path in the file named "/etc/rc.d/rc.local" assuming that on restart it will pickup, but after the restart, it didn't pick up on restart.
So can anyone guide me where to put
linux shell-script rhel autostart
This question already has an answer here:
Running a script during booting/startup; init.d vs cron @reboot
3 answers
Auto run the programs When the system turns on(Debian)
2 answers
make an application startup automatically
2 answers
I am using Linux box which have the the following flavour
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.9 (Santiago)
My requirement is to start a shell script after the server is restarted completed and all other init scripts are executed custom script need to execute For the same, I put the custom script path in the file named "/etc/rc.d/rc.local" assuming that on restart it will pickup, but after the restart, it didn't pick up on restart.
So can anyone guide me where to put
This question already has an answer here:
Running a script during booting/startup; init.d vs cron @reboot
3 answers
Auto run the programs When the system turns on(Debian)
2 answers
make an application startup automatically
2 answers
linux shell-script rhel autostart
asked Jul 20 at 8:56
gibyalex
1
1
marked as duplicate by Kusalananda
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Jul 20 at 8:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Kusalananda
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Jul 20 at 8:57
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02
add a comment |Â
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
/etc/rc.d/rc.local is no longer a thing since systemd.
â Kiwy
Jul 20 at 9:02