Where to put the script file for autostart [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question











marked as duplicate by Kusalananda linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

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
















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







share|improve this question











marked as duplicate by Kusalananda linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

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












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







share|improve this question












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









share|improve this question










share|improve this question




share|improve this question









asked Jul 20 at 8:56









gibyalex

1




1




marked as duplicate by Kusalananda linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

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 linux
Users with the  linux badge can single-handedly close linux questions as duplicates and reopen them as needed.

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
















  • /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















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)