cPanel Forums cPanel Forums

Search

By:
Advanced search…
By:
Advanced…
  • Shop our Products
    Product OverviewFeaturesAdd-onsCustomize cPanelPricingReleasesFree Trial
  • Support
  • About
    CompanyGiving BackBrand Guide
  • Pricing
  • Partners
  • Developers
Store Login
Menu
cPanel Forums cPanel Forums
  • Forums
    New posts Trending Search forums
  • What's new
    New posts New resources Latest activity
  • Resources
    Latest reviews Search resources
  • Feature Requests
Forums
Log in
Register

Search

By:
Advanced search…
By:
Advanced…
  • New posts
  • Trending
  • Search forums
Menu
  • Forums
  • cPanel & WHM® (for Linux® Servers)
  • Operating Systems

Create a system startup script?

  • Thread starter Filipe Martins
  • Start date May 11, 2019
F

Filipe Martins

Member
Sep 29, 2016
12
2
3
Portugal
cPanel Access Level
Root Administrator
May 11, 2019
  • #1
Hello.
Is it possible to set a startup script, that runs after boot, and survives system reboot and cPanel updates? How?

Thanks.
 
GOT

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,772
326
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
May 11, 2019
  • #2
The /etc/rc.local file is exactly what this is for. Just put your bash commands in that file.
 
Expand signature
Proactive Server Monitoring and Management
https://greenolivetree.net
Brand new cPanel plugin! Many useful sysadmin tools from attack identification to migration planning!
CPToolBox – Administrator cPanel Tools
  • Like
Reactions: cPanelLauren
cPanelLauren

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
May 14, 2019
  • #3
Let us know how it comes along @Filipe Martins thanks for the advice @GOT
 
Expand signature
|Submit A Support Ticket | Request a Feature | Documentation | Knowledgebase | Change Logs |​

Do you have knowledge you want to share? Check out the Community Guides and Tutorials section and submit your own tutorial :cool:
F

Filipe Martins

Member
Sep 29, 2016
12
2
3
Portugal
cPanel Access Level
Root Administrator
May 25, 2019
  • #4
It works flawlessly. Thank you.
 
  • Like
Reactions: cPanelLauren
Show hidden low quality content
You must log in or register to reply here.
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
Thread starter Similar threads Forum Replies Date
I Create VPS servers Using cPanel? Operating Systems 5 Jul 23, 2018
P Create VMs with cPanel? Operating Systems 1 Jul 13, 2018
P Create User via Terminal Operating Systems 1 Sep 10, 2015
P Failed to create database Operating Systems 2 Aug 13, 2014
G Impossible to create database's user Operating Systems 12 Jul 2, 2014
Similar threads
Create VPS servers Using cPanel?
Create VMs with cPanel?
Create User via Terminal
Failed to create database
Impossible to create database's user

Products & Pricing

cPanel & WHM Overview cPanel & WHM Features Extensions Customize Products cPanel & WHM Trial cPanel & WHM Releases Pricing Store Sign in

Support

Need Help? Documentation Migrations Services Ticket Support License Verification Security TSRs & CVEs

Company

About Us Giving Back Non-Profit License EDU License Brand Guide Careers Contact

Partners

Become a Partner Partner Perks Partner Directory Partner Sign in

Developers

Build for cPanel Developer Docs Application Catalog Developer License Knowledge Base Forums

Extras

News Blog cPU Certification Feature Request
  • Contact us
  • Terms and rules
  • Privacy policy
  • Help
  • RSS
Legal Notices / Privacy Policy / Transparency Policy
| Add-ons by ThemeHouse
cPanel, WebHost Manager and WHM are registered trademarks of cPanel, L.L.C. for providing its computer software that facilitates the management and configuration of Internet web servers.
Top Bottom