Comments on: How to Auto Execute Commands/Scripts During Reboot or Startup https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 16:52:35 +0000 hourly 1 By: Ara https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/comment-page-1/#comment-1342385 Sun, 05 Jul 2020 05:44:46 +0000 http://www.tecmint.com/?p=24556#comment-1342385 Hello tecmint,

I want to run this command under regular user not as root every time my VPS restarted, its a cheap VPS still running centos 5

# nohup java -jar /opt/serposcope-2.11.0.jar &

this guide seems to execute as a root

]]>
By: Jon vezinat https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/comment-page-1/#comment-1335248 Tue, 26 May 2020 17:10:29 +0000 http://www.tecmint.com/?p=24556#comment-1335248 This worked just like I was needed. The rc.local was what I needed to create a “gold disk” partition to cover different hardware.

]]>
By: Liz Thompson https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/comment-page-1/#comment-1036193 Sun, 16 Sep 2018 15:36:47 +0000 http://www.tecmint.com/?p=24556#comment-1036193 In reply to Liz Thompson.

I fixed things…

/etc/profile can me made executable and allows system wide settings to be made here.

Better yet I wrote a script ‘startup‘ and put in my local ‘bin‘ directory and added it to Mint Mate’s startup programs.

Now I can edit without root permission and set all kinds of things.

Things got crazy when I added the new external monitor HDMI, touchscreen, sound and all needed tweaking.

]]>
By: Liz Thompson https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/comment-page-1/#comment-1030479 Fri, 31 Aug 2018 20:54:58 +0000 http://www.tecmint.com/?p=24556#comment-1030479 Linux mint has no rc.d folder, it does have rc0.d, rc1.d up to rc6.d/etc/rc.local does not execute in Linux Mint but is there.

There is an /etc/init.d/rc.local that supposedly executes /etc/rc.local but doesn’t.

]]>
By: dbp https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/comment-page-1/#comment-906598 Tue, 15 Aug 2017 04:09:30 +0000 http://www.tecmint.com/?p=24556#comment-906598 rc.local is obsolete, use systemd instead

]]>